trim_pool: Use a caliper to trim the data to only observations within...

View source: R/utility_functions.R

trim_poolR Documentation

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"
)

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()

Value

Dataframe of the trimmed comparisons based on the alpha value

Examples

 
print('See add_balance_table for full example')

                         

rollmatch documentation built on April 16, 2025, 1:09 a.m.