Displaying 1 result from an estimated 1 matches for "nhosp".
Did you mean:
hosp
2011 May 19
1
Specifying Splits WhenUusing rpart
I am using the package rpart to explore various classification structures.
The call looks like:
seekhi1<-rpart(pvol~spec+a1+psize+eppres+numpt+icds+bivalcrt+stents+ppshare+
nhosp+nyrs,data=dat,method="class",
control=rpart.control(minsplit=30,xval=10))
The output is
1) root 198 87 1 (0.5606061 0.4393939)
2) psize=1,2 122 43 1 (0.6475410 0.3524590)
4) a1=3 23 5 1 (0.7826087 0.2173913) *
5) a1=1,2 99 38 1 (0.6161616 0.3838384)...