strat
0.1An Implementation of the Stratification Index
Overview
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.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE2026-06-099 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-089 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-04-2210 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-189 OK · 4 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1010 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 20%
Downloads
Repository
Repository practices
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/xiangzhou09/strat on 2026-07-30.
Dependencies
Nothing depends on this yet.
Code & Tests
Datasets
People & History
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.1Latest2026-03-10 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2016-11-23
- Total releases
- 1 / 10 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.3.1
- Bundled data
- 138 KB / 1 file
- Download size
- 146 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet