control
argument of tree
.
tree.control(nobs, mincut = 5, minsize = 10, mindev = 0.01)
mincut
and 1minsize
and 2.nobs
.mincut
and
minsize
, and ensures that mincut
is at most half
minsize
. To produce a tree that fits the data perfectly, set mindev = 0
and minsize = 2
, if the limit on tree depth allows such a tree.
tree