Re: [R] delete categories

2008-11-17 Thread Ann Leis
hat you want. If not, then ... please read the posting guide. > > ## > glm(response ~ predictor, data = YourData, subset = Category != "G", family > = ...) > > You will need to do the appropriate substitutions ... This should omit the > data associated with category

[R] delete categories

2008-11-16 Thread Ann Leis
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