Re: [R] subset problem

From: Liaw, Andy <andy_liaw_at_merck.com>
Date: Thu 23 Feb 2006 - 05:14:51 EST


You need year == 2002.

Andy

From: I.Szentirmai
>
> 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
>
>



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 05:26:15 2006

This archive was generated by hypermail 2.1.8 : Thu 23 Feb 2006 - 06:23:12 EST