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@tree<-tt
> plot(npt)
Error in terminal_panel(<S4 object of class "BinaryTree">) :
  âctreeobjâ is not a regression tree
> plot(npt, type="simple")

Any additional help is appreciated.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to