The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

natstrat

R-CMD-check Codecov test coverage

Natural strata can be used in observational studies to balance the distributions of many covariates across any number of treatment groups and any number of comparisons. These strata have proportional amounts of units within each stratum across the treatments, allowing for simple interpretation and aggregation across strata. Within each stratum, the units are chosen using randomized rounding of a linear program that balances many covariates.

Installation

You can install the released version from CRAN with:

install.packages("natstrat")

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("kkbrum/natstrat", build_vignettes = TRUE)

Usage

To learn about how to use this package, please see the associated vignette with:

browseVignettes(package = "natstrat")

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.