[R] missings
kayj
kjaja27 at yahoo.com
Thu Mar 5 16:37:11 CET 2009
I have a file where the missings are coded as NA or blank. how can I tell R
to read the data set and to consider the missings NA or a blank.
I tried the following
data<-read.table("data.txt", sep='\t', header=T, na.strings=c("NA",""))
is it correct? I am new to R and I am not sure if R is condisering the
blanks as missings in the above.
Thanks for the help
--
View this message in context: http://www.nabble.com/missings-tp22354037p22354037.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list