search for: pressurea

Displaying 1 result from an estimated 1 matches for "pressurea".

Did you mean: pressure
2003 May 22
1
[R ] Query : problems with the arithmetic operator "^" with function "lme"
...the "pressure^2, pressure^3, ..." However, the model called is " rate ~ (pressure + pressure^2 + pressure^3 + pressure^4) * QB " . "^" is a problem ! So, we fit the model like this, including two matrices, for the fixed effects and the random effects: >Dialyzer$PressureA<-cbind(Dialyzer$pressure,...,Dialyzer$pressure^4) >Dialyzer$PressureB<-cbind(Dialyser$pressure,Dialyzer$pressure^2) Now, we fit the same model like this: >fm3Dial.lme<-lme(rate~(PressureA)*QB, + Dialyzer,~PressureB,weights=varPower(form=~pressure)) We obtain: Linear mixed-effe...