Skip to contents

A step of the RcppExports implementation. Called by morie_matching_abadie_imbens_se. See the file header for the source the module follows.

Arguments

y

Passed to .Call.

t

Passed to .Call.

treated_pos

Passed to .Call.

control_pos

Passed to .Call.

Value

The value of .Call.

Examples

y <- c(3, 5, 2, 4, 6); t <- c(1, 1, 0, 0, 0)
morie_matching_abadie_imbens_kernel_cpp(y, t, treated_pos = c(0L, 1L), control_pos = c(2L, 3L))
#> [1] 0.25