Skip to content
Back to formatted view

Raw Message

Message-ID: <50D33CAB.5040809@mayo.edu>
Date: 2012-12-20T16:28:27Z
From: Terry Therneau
Subject: R-help Digest, Vol 118, Issue 20
In-Reply-To: <mailman.21.1356001208.10591.r-help@r-project.org>

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-request at 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
>