Skip to content
Prev 14415 / 398502 Next

Rows function in nlme package

Hi
package
coef(bp.model3M))) :
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").

OTOH, Rows() does not seem like a very hard function to replicate.  It would
appear that ...

    Rows(x, index)

... is basically just doing ...

    lapply(x, "[", index)

... so you could fix the code yourself if you feel keen.  In the longer
term, a fix will need changes to either nlme or lattice, at least one of
which will hopefully occur by the end of the year.

Paul


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._