Rows function in nlme package
--- Paul Murrell <p.murrell at auckland.ac.nz> wrote:
Hi
The Rows function which is called from
plot.compareFits in the nlme package
is not found.
plot(compareFits(coef(bp.model3),coef(bp.model3M)))
Error in
plot.compareFits(compareFits(coef(bp.model3), coef(bp.model3M))) :
couldn't find function "Rows"
Can I find it elswhere? Have I missed a required
package?
[...] After further hunting I realise this is probably
part of the "Trellis"
package that is seem being brewed.
It does appear that Rows() is part of Trellis in S-Plus (given that the example for rows is a Trellis-related example), which means that you have probably correctly guessed why it is not in R (because it is not in the lattice package which we are "brewing").
Actually, lattice DOES have the Rows() function (precisely because it is very commonly used in Trellis code), though it is not well documented. In fact, if you want to use (most of) the plot functions in nlme, you would have to have grid and lattice installed (both under development), not only Rows(). Deepayan __________________________________________________ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._