I don't know of one. If building your own you could use rpart with the "maxdepth=1" as the tool to find the best split at each node.
Terry Therneau

On 12/20/2012 05:00 AM, r-help-requ...@r-project.org wrote:
Hi,

I've searched R-help and haven't found an answer. I have a set of data from 
which I can create a classification tree using
rpart. However, what I'd like to do is predefine the blank structure of the 
binary tree (i.e., which nodes to include) and then use a package like rpart to 
fit for the optimal splitting criteria at each of the predefined nodes.

Does such a package exist?

Thanks,
Lee


______________________________________________
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