Description Usage Arguments Details Value References Examples
Use the preference score to trim subjects that are not in clinical equipoise
1 | trimByPsToEquipoise(population, bounds = c(0.3, 0.7))
|
population |
A data frame with at least the three columns described below. |
bounds |
The upper and lower bound on the preference score for keeping persons. |
The data frame should have the following three columns:
rowId (numeric): A unique identifier for each row (e.g. the person ID).
treatment (integer): Column indicating whether the person is in the target (1) or comparator (0) group.
propensityScore (numeric): Propensity score.
Returns a tibble with the same three columns as the input.
Walker AM, Patrick AR, Lauer MS, Hornbrook MC, Marin MG, Platt R, Roger VL, Stang P, and Schneeweiss S. (2013) A tool for assessing the feasibility of comparative effectiveness research, Comparative Effective Research, 3, 11-20
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.