View source: R/utility_functions.R
trimByPsQuantile | R Documentation |
Trims propensity scores by removing extreme values at both ends of the distribution.
trimByPsQuantile(propensityScore, trimFraction = 0.05)
propensityScore |
A numeric vector of propensity scores. |
trimFraction |
Fraction of extreme values to trim (default 0.05). |
A vector of indices indicating which scores to keep.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.