Thomas Lumley <[EMAIL PROTECTED]> writes: > I have modified read.spss (but not committed the changes yet) so that > it does not create a factor when there are missing levels.
Hmm, could we handle this more elegantly? At the very least, we should probably try to keep the labels as an attribute, so that you have the option of doing something constructive with them afterwards. Perhaps we need an entire new data class (say "labeled") and an as.factor() method doing basically what happens now. BTW, I take it that you mean "when there are values with no labels", not "labels for values that are not present in data", right? -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel