XPtrToDist: Coercion from an XPtr object into a dist one

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Coercies an XPtr object into a dist object which can be used in other algorithms.

Usage

1

Arguments

d

an XPtr object

Details

This routine does not duplicate but just makes available as a dist the data contained in d

Value

returns an invisible object of class dist

Author(s)

S.M. Iacus

References

Iacus, S.M., Porro, G. (2009) Random Recursive Partitioning: a matching method for the estimation of the average treatment effect, Journal of Applied Econometrics, 24, 163-185.

Iacus, S.M., Porro, G. (2007) Missing data imputation, matching and other applications of random recursive partitioning, Computational Statistics and Data Analysis, 52, 2, 773-789.

See Also

newXPtr

Examples

1
2
3
a <- newXPtr(10,5)
(XPtrToDist(a))
as.dist(matrix(5,10,10))

rrp documentation built on May 2, 2019, 5:25 p.m.

Related to XPtrToDist in rrp...