Package: optrefine 1.1.1
optrefine: Optimally Refine Strata
Splits initial strata into refined strata that optimize covariate balance. For more information, please see Brumberg, Small, and Rosenbaum (2024) <doi:10.1093/biomtc/ujae061>. To solve the linear program, the 'Gurobi' commercial optimization software is recommended, but not required. The 'gurobi' R package can be installed following the instructions at <https://docs.gurobi.com/projects/optimizer/en/current/reference/r/setup.html> after claiming your free academic license at <https://www.gurobi.com/academia/academic-program-and-licenses/>.
Authors:
optrefine_1.1.1.tar.gz
optrefine_1.1.1.zip(r-4.7)optrefine_1.1.1.zip(r-4.6)optrefine_1.1.1.zip(r-4.5)
optrefine_1.1.1.tgz(r-4.6-any)optrefine_1.1.1.tgz(r-4.5-any)
optrefine_1.1.1.tar.gz(r-4.7-any)optrefine_1.1.1.tar.gz(r-4.6-any)
optrefine_1.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
optrefine/json (API)
| # Install 'optrefine' in R: |
| install.packages('optrefine', repos = c('https://kkbrum.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/kkbrum/optrefine/issues
- rhc_X - Right Heart Catheterization Data
Last updated from:79aec23255. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 184 | ||
| source / vignettes | OK | 153 | ||
| linux-release-x86_64 | OK | 152 | ||
| macos-release-arm64 | OK | 155 | ||
| macos-oldrel-arm64 | OK | 152 | ||
| windows-devel | OK | 127 | ||
| windows-release | OK | 102 | ||
| windows-oldrel | OK | 109 | ||
| wasm-release | OK | 108 |
Exports:best_splitcalc_smdsprop_stratrand_pvalsrefinesplit_stratumstrattable_rand_pvals
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecyclelpSolveMASSR6RColorBrewerRglpkrlangS7samplingscalesslamvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Find the best split for a stratum | best_split |
| Calculate standardized mean differences for initial and refined strata | calc_smds |
| Constructor for object of class "strat" | new_strat |
| Plot diagnostics for a "strat" object | plot.strat |
| Print stratification object | print.strat |
| Form propensity score strata | prop_strat |
| Generate P-values using empirical randomization null distribution | rand_pvals |
| Refine initial stratification | refine |
| Right Heart Catheterization Data | rhc_X |
| Split one stratum into multiple strata | split_stratum |
| Helper for object of class "strat" | strat |
| Generate a covariate balance table from the empirical randomization null distribution | table_rand_pvals |
| Validator for object of class "strat" | validate_strat |
