I am surprised: a Generalized Linear Model does not have clusters, nor
did glm() allow clusters in any version of S-PLUS I have used.
I suspect this is a GEE model, for which see packages gee, geepack and
yags (not on CRAN) under R. But you can also have Generalized Linear
Mixed Models, and there are several R packages to handle those.
On Sat, 31 Jan 2009, Veerappa Chetty wrote:
> Hi,In SPlus, I use the function 'cluster' with GLM to adjust for
correlated
> errors within a cluster ( e.g. cluster(ID)) as a covariate. Is there a
> similar function in R to use with GLM ? I am new to R. Thanks.
>
> V.K. Chetty
>
> --
> Professor of Family Medicine
> Boston University
> Tel: 617-414-6221, Fax:617-414-3345
> emails: chettyvk at gmail.com,vchetty at bu.edu
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595