[R] [R ] Query : problems with the arithmetic operator "^" with function "lme"

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Thu May 22 18:05:52 CEST 2003


"MARTIN  Ludovic" <martinl at mathinfo.ens.univ-reims.fr> writes:

> > data(Dialyzer)
> > fm2Dial.lme<-lme(rate~(pressure+pressure^2+pressure^3+pressure^4)*QB,
> +    Dialyzer,~pressure+pressure^2,weights=varPower(form=~pressure))

You'll need I(pressure^2) in R. (FAQ 3.3.2)


-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list