[R] delete categories

From: Ann Leis <you2201_at_gmail.com>
Date: Sun, 16 Nov 2008 22:15:02 -0500


I have a dataset which has categories A-G (7 categories) with corresponding x and y variables. I want to delete one category from the dataset and run a logit model on only 6 categories instead of 7. How do I delete a category? I have tried the omit command but it just returns TRUE and False values.

        [[alternative HTML version deleted]]



R-help_at_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. Received on Mon 17 Nov 2008 - 03:18:54 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 17 Nov 2008 - 09:30:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive