trim_pool: Use a caliper to trim the data to only observations within threshold
Description
Use a caliper to trim the data to only observations within threshold
Usage
trim_pool(
alpha,
comparison_pool,
scored_data,
treat,
tm,
standard_deviation = "average"
)
Value
Dataframe of the trimmed comparisons based on the alpha value
Arguments
- alpha
See rollmatch()
- comparison_pool
Dataframe of comparison data to be trimmed from
compare_pool()
- scored_data
Dataframe of results from score_data()
- treat
See rollmatch()
- tm
See rollmatch()
- standard_deviation
See rollmatch()
Examples
Run this code# \donttest{
print('See add_balance_table for full example')
# }
Run the code above in your browser using DataLab