[R] rpart - plotcp find specificity and sensitivity

Parsa Akbari parsa1.akbari at gmail.com
Thu Jun 30 15:15:42 CEST 2016


Hi,

I am using rpart to build a decision tree, I am then using printcp to find
the cross-validation error (xerror) of different splits of the decision
tree.

I was wondering how I can use the rpart package to find sensitivity (false
negative) and specificity (false positive) of cross-validation folds?

In addition I was wondering how many cross-validation folds does printcp
uses?

Thanks for your help.

Regards,
Parsa

	[[alternative HTML version deleted]]



More information about the R-help mailing list