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.5)strat_0.1.zip(r-4.4)strat_0.1.zip(r-4.3)
strat_0.1.tgz(r-4.4-x86_64)strat_0.1.tgz(r-4.4-arm64)strat_0.1.tgz(r-4.3-x86_64)strat_0.1.tgz(r-4.3-arm64)
strat_0.1.tar.gz(r-4.5-noble)strat_0.1.tar.gz(r-4.4-noble)
strat_0.1.tgz(r-4.4-emscripten)strat_0.1.tgz(r-4.3-emscripten)
strat.pdf |strat.html
strat/json (API)

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

Peer review:

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

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

On CRAN:

2.04 score 11 scripts 121 downloads 2 exports 67 dependencies

Last updated 8 years agofrom:a4a95fd7b1. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 07 2024
R-4.5-win-x86_64OKNov 07 2024
R-4.5-linux-x86_64OKNov 07 2024
R-4.4-win-x86_64OKNov 07 2024
R-4.4-mac-x86_64OKNov 07 2024
R-4.4-mac-aarch64OKNov 07 2024
R-4.3-win-x86_64OKNov 07 2024
R-4.3-mac-x86_64OKNov 07 2024
R-4.3-mac-aarch64OKNov 07 2024

Exports:srankstrat

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercolorspacedata.tabledigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmennetpillarpkgconfigR6rappdirsRColorBrewerRcppRcppArmadillorlangrmarkdownrpartrstudioapisassscalesstringistringrtibbletinytexutf8vctrsviridisviridisLitewithrxfunyaml