Hi All,

Newbie question that i'm sure is easy, but i can't seem to apply properly

I read in a datafram from a CSV file and i want to tell R that from coloum
"n_0" to "n_32" the value "-1" is missing data
i was looking at the
is.na(xx) <- c(..,...,) idea but i can't seem to apply it properly, can
anyone offer advice?

On a side issue while i'm asking i have a an XML that i intend to use to add
value labels and variable labels to the dataframe (using a python script)
but i can't seem to find the syntax for adding value labels? i.e  1=Male
2=Female

the labels command doesn't look like the one i want to use, and i've
searched the archives but to no avail (maybe it's a too simple, but i have
looked)

Any help willing accepted

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to