[R] Plot fixed effect with covariates failed

Yang, Richard dyang at nrcan.gc.ca
Mon May 13 16:15:07 CEST 2002


Dear R-help;

	I created a nlme model (Xnlme) with 3 fixed effects B1, B2, and B3.
The random effects and available covariates in the groupedData were
extracted with raned():

>Xnlme.ranef <- ranef(Xnlme, aug = T)

When the fixed effect was plotted against covarites, an error occurred:

>plot(Xnlme.ranef, form = B1 ~ ps + dr + el + sl + as)

an error occurred:

"Error in max(length(x0), length(x1), length(y0), length(y1)) : 
        Argument "x0" is missing, with no default "

Some of the covariates are factors (ps, dr, as) and some continuous. What
did I miss? Any workaround?

Regards,

Richard




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list