Last week I posted a question concerning the mCall function, which is
used to create self-starting functions and is described in the book by
Pinheiro, J.C. and Bates, D.M. (Mixed-effects models in S and S-PLUS).
On page 345 one finds the following call:

 

xy<-sortedXyData(mCall[["x"]], LHS,data)

 

It is necessary to replace the "x" in the call to mCall by the actual
variable name for the dependent variable.  The error message that I was
getting was due to the fact that I had called by dependent variable in
the data frame (data) by another name than x without changing this in
the call to mCall.

 

 

Bill Shipley

 


	[[alternative HTML version deleted]]


