I am aware that it is possible to specify a subset with a single
logical operator when constructing a model, such as:
svyglm(formula, design=data, subset=variable=="value").

What I can't figure out is how to specify a subset with two or more
logical operators:
svyglm(formula, design=data, subset=variable=="value a"|"value b").

Is it possible to specify a subset in this way using *glm without
having to, in my case, subset the original data, create a survey
design, and then fit a model?

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to