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

Liaw, Andy andy_liaw at merck.com
Thu Sep 2 02:43:37 CEST 2004

On top of what Rolf had said, traceback() would help tracking down how the
error happened.


> From: Rolf Turner
> t is for transpose; look at ?t, ?t.default,
> ?t.data.frame
> Bottom line:  Somewhere in your code you are trying to transpose
> something that is not a matrix.  (Or you are passing to an existing
> function an object which that function expects to be a matrix, but
> isn't.)
> 			cheers,
> 				Rolf Turner
> 				rolf at math.unb.ca
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html

More information about the R-help mailing list