[R] more than two NA value names in my data

JoonGi joongi at hanmail.net
Thu Sep 30 19:10:35 CEST 2010

my data(*.txt) has 1000 observations(numbers with no characters) of 5
variables. quite simple.

However, NA values are quite tricky.

this observer used more than two names for NA values; "." and "na" and more.

1. If I don't want to manipulate this raw data at all, how can I read this

(meaning, can I set more than two names for na.strings=" " in read.table()?)

2. What happens if I don't set any NA value names in read.table()?

Does R read "."(dot) and "na" as NA value?

3. If Q1 is not possible, what is the best way to get the values I want?

(let's say I want means of all variables. I give conditions on my mean()?)

View this message in context: http://r.789695.n4.nabble.com/more-than-two-NA-value-names-in-my-data-tp2730161p2730161.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list