MATCH: Get Matched Units Given Certain Covariate Combination

Description Usage Arguments Value Examples

View source: R/Match.R

Description

Get Matched Units Given Certain Covariate Combination

Usage

1
MATCH(FLAME_object, cov_name, cov_val)

Arguments

FLAME_object

object returned by applying the FLAME algorithm (FLAME_bit or FLAME_PostgreSQL or FLAME_SQLite)

cov_name

a vector of covariate names

cov_val

a vector of covariate values, where the value position should match cov_name position

Value

data frame with all matched units

Examples

1
2
3
data(toy_data)
result <- FLAME::FLAME_bit(data = toy_data, holdout = toy_data)
FLAME::MATCH(FLAME_object = result, cov_name = c("X1", "X2"), cov_val = c("2", "2"))

chiarui424/FLAME documentation built on Sept. 16, 2019, 8:43 a.m.