On 18/09/2015 13:08, Praveen Surendran wrote:
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.
> summary(22072, digits=5)
Min. 1st Qu. Median Mean 3rd Qu. Max.
22072 22072 22072 22072 22072 22072
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.