search for: abouat

Displaying 1 result from an estimated 1 matches for "abouat".

Did you mean: bouat
2006 Jul 31
2
if function and apply
Runninn R.2.3.1 Windows XP I have a dataset just imported from SPSS. It has any number of 99's as missing data and it looks like the next dataset will have custom missing codes. I have abouat 120 variables and an N of 2000. "I think" thatI would like to apply a function to the data.frame (or to a matrix of the data if needed) to recode all the 99's to NA. I thought that I could adapt an example from the list using "apply" but with no success. Is there a dece...