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

Description Usage Arguments Value Examples

View source: R/utility_functions.R

Description

Use a caliper to trim the data to only observations within threshold

Usage

1
2
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_deviaion

See rollmatch()

Value

Dataframe of the trimmed comparisons based on the alpha value

Examples

1
2
3
4
5
## Not run:  
print('See add_balance_table for full example')

## End(Not run)
                         

rollmatch documentation built on July 8, 2020, 6:56 p.m.