[R] Issue with results from 'summary' function in R

Praveen Surendran ps629 at medschl.cam.ac.uk
Fri Sep 18 14:08:11 CEST 2015


Hi all,

Attached table (that contains summary for a genetic association study) was read using the command:

test <- read.table('testDat.txt',header=FALSE,stringsAsFactors=FALSE)

Results from the summary of the attached table is provided below:

> summary(test$V5)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
  22070   22070   22070   22070   22070   22070

As we can see column 5 of this table contains only one value - 22072
I am confused as to why I am getting a value 22070 in the summary of this column.

I tested this using versions of R including - R version 3.2.1 (2015-06-18) -- "World-Famous Astronaut"

Thank you for looking at this issue.
Kind Regards,

Praveen.



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testDat.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20150918/08e46309/attachment.txt>


More information about the R-help mailing list