[R-sig-ME] strategy to iterate over repeated measures/longitudinal data
hadley wickham
h.wickham at gmail.com
Tue Jul 21 15:42:17 CEST 2009
> For each predictor:
> 1. create a long data set using the predictor and all measurements
> (using make.univ function from multilevel package)
> 2. run lmer, extract the coefficient of interest
> 3. go to next predictor
>
> The end result is a vector of 400,000 coefficients.
>
> Do you have any suggestions on how I can improve this strategy?
What sort of improvement are you looking for? Speed? Elegance? Ease of use?
Hadley
--
http://had.co.nz/
More information about the R-sig-mixed-models
mailing list