get_CEM | R Documentation |
Create a data frame of pairs of documents obtained through coarsened exact matching (CEM) within a specified number of bins and return indices for matched sets
get_CEM(x, Z, rep.name, cuts, caliper_fun, verbose = FALSE, SR = NULL)
x |
a text representation |
Z |
a vector of treatment indicators |
rep.name |
a string or character with the name of the matching method |
cuts |
a function for how the variables will be binned. Defaults to "median" |
A data.frame of indices for matched pairs of documents
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.