Package: strat 0.1

strat: An Implementation of the Stratification Index

An implementation of the stratification index proposed by Zhou (2012) <doi:10.1177/0081175012452207>. The package provides two functions, srank, which returns stratum-specific information, including population share and average percentile rank; and strat, which returns the stratification index and its approximate standard error. When a grouping factor is specified, strat also provides a detailed decomposition of the overall stratification into between-group and within-group components.

Authors:Xiang Zhou [aut, cre]

strat_0.1.tar.gz
strat_0.1.zip(r-4.7)strat_0.1.zip(r-4.6)strat_0.1.zip(r-4.5)
strat_0.1.tgz(r-4.6-x86_64)strat_0.1.tgz(r-4.6-arm64)strat_0.1.tgz(r-4.5-x86_64)strat_0.1.tgz(r-4.5-arm64)
strat_0.1.tar.gz(r-4.7-arm64)strat_0.1.tar.gz(r-4.7-x86_64)strat_0.1.tar.gz(r-4.6-arm64)strat_0.1.tar.gz(r-4.6-x86_64)
strat_0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
strat/json (API)

# Install 'strat' in R:
install.packages('strat', repos = c('https://xiangzhou09.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/xiangzhou09/strat/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

2.11 score 13 scripts 203 downloads 2 exports 57 dependencies

Last updated from:a4a95fd7b1. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK177
linux-devel-x86_64OK145
source / vignettesOK175
linux-release-arm64OK127
linux-release-x86_64OK135
macos-release-arm64OK90
macos-release-x86_64OK159
macos-oldrel-arm64OK80
macos-oldrel-x86_64OK283
windows-develOK126
windows-releaseOK109
windows-oldrelOK108
wasm-releaseOK130

Exports:srankstrat

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacecpp11data.tabledigestevaluatefarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglifecyclemagrittrmemoisemimennetR6rappdirsRColorBrewerRcppRcppArmadillorlangrmarkdownrpartrstudioapiS7sassscalesstringistringrtinytexvctrsviridisLitewithrxfunyaml