Learn R Programming

FLAME (version 1.0.0)

MATCH: Get Matched Units Given Certain Covariate Combination

Description

Get Matched Units Given Certain Covariate Combination

Usage

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

Run this code
# NOT RUN {
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"))
# }

Run the code above in your browser using DataLab