John wrote:
... Does anyone know, or know documentation that describes, how to declare multiple values in R as missing that does not involve coding them as NA? I wish to be able to treate values as missing, while still retaining codes that describe the reason for the value being missing.
I would suggest leaving the "missing values" as is in your data file and recoding these to NA at the top of each analysis script you run. I find that the only place I usually make use of such information is in the initial descriptives, although you may want to selectively recode for different analyses.
Jim ______________________________________________ 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.