[R] How to personalize the rpart function: t.default(x)

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Sep 2 08:24:51 CEST 2004

On Thu, 2 Sep 2004, Simone Vantini wrote:

> I'm trying to personalize the rpart function by introducing a
> list('init','split','eval') in the argument method. But I receive an error
> message:"Error in t.default(x): argument is not a matrix".
> Can anyone tell me what the argument of this function is or where this
> function appears in the rpart function.Thanks Simone Vantini

t.default is the default method for the transpose function t() in R 

Try help!


     Given a matrix or 'data.frame' 'x', 't' returns the transpose of

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list