Displaying 1 result from an estimated 1 matches for "hollowpr".
Did you mean:
hollow
2006 Aug 24
0
Classification tree with a random variable
...rst), regards how this is achieved in R. The only way I can figure how to do this is to put the variable 'site' in as the 'xval' value. I have given an example of how I have done this below in a simplified version of the model. Is how I have done this correct?
hp1<-rpart(formula=hollowpres~dbh + lat + long +alt,
data=test,method="class",control=rpart.control (maxcompete=4,xval=site), na.action=na.rpart)
Thanks
Amy
[[alternative HTML version deleted]]