[R] individual intercept and slope

Dimitris Rizopoulos d.rizopoulos at erasmusmc.nl
Tue Nov 2 15:19:48 CET 2010


Have a look at function(s) lmList() from packages lme4 or nlme.

I hope it helps.

Best,
Dimitris


On 11/2/2010 3:14 PM, Rosario Garcia Gil wrote:
> Hello
>
> I would like to extract the estimates for the intercept and slope by individual for growth from a lm fit.
> Any advice?
>
> Individual Time point      Height
> 1			1           10
> 1			2		11
> 1			3		23
> 1			4		15
> 1			5		21
> 1			6		23
> 2			1		24
> 2			2		12
> 2			3		9
> 2			4		10
> 2			5		11
> 2			6		10
> ...
>
> Thanks
>
> ______________________________________________
> 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.
>

-- 
Dimitris Rizopoulos
Assistant Professor
Department of Biostatistics
Erasmus University Medical Center

Address: PO Box 2040, 3000 CA Rotterdam, the Netherlands
Tel: +31/(0)10/7043478
Fax: +31/(0)10/7043014
Web: http://www.erasmusmc.nl/biostatistiek/



More information about the R-help mailing list