[R] Subsetting data with svyglm
    Brennan O'Banion 
    brennan.obanion at gmail.com
       
    Thu Feb 12 02:42:58 CET 2015
    
    
  
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?
    
    
More information about the R-help
mailing list