Get covariates from a Matched object
covariates(x, ...)
# S4 method for Matched
covariates(x, ...)
Matched object.
Additional arguments.
A character vector of covariates
set.seed(123)
mdf <- makeExampleMatchedDataSet(matched = TRUE)
covariates(mdf)
#> [1] "feature2" "feature3"