rrp.dist {rrp} | R Documentation |
Main piece of the RRP algorithm which generates the RRP dissimilarity matrix.
rrp.dist(X, treated = NULL, msplit = 10, Rep = 250, cut.in = 15, check.bal = FALSE, plot = FALSE)
X |
a data.frame object |
treated |
optional class indicator variable |
msplit |
minimum split parameter in the rpart algorithm |
Rep |
number of RRP replications |
cut.in |
number of breaks in which to cut continuous variables |
check.bal |
indicator function. If TRUE balance check using
hyper-rectangles will be used inside leaves |
plot |
wheter to plot the porximity matrix as image |
This algorithm allows for missing data in X
.
an object of class dist
S.M. Iacus
Iacus, S.M., Porro, G. (2006) Random recursive partitioning: a matching method for the estimation of the average treatment effect