Displaying 1 result from an estimated 1 matches for "prettytree".
2011 Oct 06
0
Fwd: Re: Party extract BinaryTree from cforest?
...ct 2011 21:09:41 +0000
> From: Chris <christopher.a.hane at gmail.com>
> To: r-help at stat.math.ethz.ch
> Subject: Re: [R] Party extract BinaryTree from cforest?
>
> I found an internal workaround to this to support printing and plot type
> simple,
>
> tt<-party:::prettytree(cf at ensemble[[1]], names(cf at data at
> get("input")))
>> npt <- new("BinaryTree")
>> npt at tree<-tt
>> plot(npt)
> Error in terminal_panel(<S4 object of class "BinaryTree">) :
> ?ctreeobj? is not a regression tree
library(...