bound_propensity: Bounding Propensity Scores

Description Usage Arguments

View source: R/utils.R

Description

Bounds estimated propensity score values to be within a specified range.

Usage

1
bound_propensity(vals, bounds = c(0.01, 0.99))

Arguments

vals

A numeric vector of values in the closed unit interval.

bounds

A numeric vector containing two values, the first being the minimum allowable value and the second being the maximum allowable for values appearing in the vector vals.


nhejazi/medshift documentation built on Feb. 8, 2022, 10:55 p.m.