Determine if a Matched object was created with or without replacement.
withReplacement(x, ...)
# S4 method for class 'Matched'
withReplacement(x, ...)
TRUE/FALSE indicating whether matching was done with or without replacement.
set.seed(123)
mdf <- makeExampleMatchedDataSet(matched = TRUE)
withReplacement(mdf)
#> [1] FALSE