[R] subset problem

From: I.Szentirmai <I.Szentirmai_at_rug.nl>
Date: Thu 23 Feb 2006 - 04:23:38 EST


Dear All,

I'm trying to run a model on a subset of my data identified by year = 2002. Does anyone know whats wrong with the syntax below:

glmmPQL(desm~desdat,random=~1|male,family=quasibinomial, data=mcare,subset=year=2002)

I get an error message all the time, but it worked with string variables (like: subset=sex=="M").

Thanks,
Istvan



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Feb 23 04:56:06 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:39 EST