
<!-- README.md is generated from README.Rmd. Please edit that file -->

# optrefine

<!-- badges: start -->

[![R-CMD-check](https://github.com/kkbrum/optrefine/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/kkbrum/optrefine/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->

The goal of optrefine is to split existing strata (or none) into more
refined strata that optimize covariate balance. Most often, propensity
score strata are each split into two in order to achieve better
covariate balance.

## Installation

You can install the release version of optrefine from
[CRAN](https://cran.r-project.org/) with:

``` r
install.packages("optrefine")
```

You can install the development version of optrefine from
[GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("kkbrum/optrefine")
```
