Package: strat Type: Package Title: An Implementation of the Stratification Index Version: 0.1 Authors@R: person("Xiang", "Zhou", email = "xiang_zhou@fas.harvard.edu", role = c("aut", "cre")) Description: An implementation of the stratification index proposed by Zhou (2012) . 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. Depends: R (>= 3.3.1), Imports: Hmisc (>= 4.0-0), Rcpp, stats LinkingTo: Rcpp, RcppArmadillo License: GPL (>= 3) LazyData: TRUE RoxygenNote: 5.0.1 Suggests: testthat URL: https://github.com/xiangzhou09/strat BugReports: https://github.com/xiangzhou09/strat/issues Config/pak/sysreqs: cmake make libicu-dev libuv1-dev Repository: https://xiangzhou09.r-universe.dev Date/Publication: 2016-11-22 17:02:50 UTC RemoteUrl: https://github.com/xiangzhou09/strat RemoteRef: HEAD RemoteSha: a4a95fd7b1c47a2aae837618ea6793d7e4da6383 NeedsCompilation: yes Packaged: 2026-06-22 11:37:05 UTC; root Author: Xiang Zhou [aut, cre] Maintainer: Xiang Zhou