Re: [R] Convert numeric to class

From: Xiyan Lon <>
Date: Tue 22 Mar 2005 - 02:50:28 EST

On Mon, 21 Mar 2005 10:15:37 -0500, Liaw, Andy <> wrote:

> The `frame' component of an rpart object should already be a data frame.
> You just need to make sure to assign them to components of, as,
> e.g.,
>[[j]] <-[[j]]$frame
> BTW, why would you want to duplicate the data in `result'? You can easily
> get the `frame' component from, so why store a separate copy?
> Andy

Thanks for your quick respons.
Because I want to make iteration for my classification, I want to see what class/type (in this example, Species) was possible exits in my iteration.

Best regrads
Xiyan Lon mailing list PLEASE do read the posting guide! Received on Tue Mar 22 02:56:27 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:51 EST