Re: [R] building lme call via call()

2010-10-25 Thread William Dunlap
ject: [R] building lme call via call() > > dear all, > I would like to get the lme call without fitting the relevant model. > > library(nlme) > data(Orthodont) > fm1 <- lme(distance ~ age, random=list(Subject=~age),data = Orthodont) > > To get fm1$call without

[R] building lme call via call()

2010-10-25 Thread Vito Muggeo (UniPa)
dear all, I would like to get the lme call without fitting the relevant model. library(nlme) data(Orthodont) fm1 <- lme(distance ~ age, random=list(Subject=~age),data = Orthodont) To get fm1$call without fitting the model I use call(): my.cc<-call("lme.formula", fixed= distance ~ age, random =