search for: thecommandstr

Displaying 2 results from an estimated 2 matches for "thecommandstr".

2012 Sep 06
0
lme( y ~ ns(x, df=splineDF)) error
...list( : # variable lengths differ (found for 'splineDF')" assign(x="splineDF", value=splineDF, pos=".GlobalEnv") mylme<-lme(fixed= y ~ ns(x, df=splineDF) , random= ~ 1 | ID , correlation = corAR1() , data=longdat ) } else if (WhichApproach==3) { thecommandstring<- paste("mylme<-lme(fixed= y ~ ns(x, df=", splineDF, ") , random= ~ 1 | ID , correlation = corAR1() , data=longdat)") thecommandstring eval(parse(text=thecommandstring)) } else { stop(paste("WhichApproach=", WhichApproach, " not valid.")) } mylme...
2012 Sep 26
0
lme(y ~ ns(x, df=splineDF)) error
...t( : # variable lengths differ (found for 'splineDF')" assign(x="splineDF", value=splineDF, pos=".GlobalEnv") mylme<-lme(fixed= y ~ ns(x, df=splineDF) , random= ~ 1 | ID , correlation = corAR1() , data=longdat ) } else if (WhichApproach==3) { thecommandstring<- paste("mylme<-lme(fixed= y ~ ns(x, df=", splineDF, ") , random= ~ 1 | ID , correlation = corAR1() , data=longdat)") thecommandstring eval(parse(text=thecommandstring)) } else { stop(paste("WhichApproach=", WhichApproach, " not valid.")) } mylm...