Skip to content
Back to formatted view

Raw Message

Message-ID: <22354037.post@talk.nabble.com>
Date: 2009-03-05T15:37:11Z
From: kayj
Subject: missings

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.