Skip to content

strat

0.1

An Implementation of the Stratification Index

0packages depend
2.1Kdownloads / year
0.0%test coverage
9/13checks pass

Overview

About
Maintained by Xiang ZhouFirst published 2016-11-231 releasesCRAN page ↗GitHub ↗

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

CRAN checks
4NOTE9OK
Failing flavors
  • 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
Slowest check: 3.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.03
0.0%
Coverage · measured lines
100%
Documentation · exports
3
Dependencies · direct
Check history
  • NOTE2026-06-09
    9 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    9 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-22
    10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    9 OK · 4 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
20%

Downloads

2.1K
CRAN downloads in the past year
Rank #18,637 · ~6/day · ~175/mo
Daily download trend is not available in this view yet.
19630 days
60590 days
2.1K1 year
Compare downloads with other packages →
Also on410 r2u25 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2016-11-22

Repository practices

Upstream repositoryBeta

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.

Continuous integration (1)
Travis CI
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.3.1
Imports (3)
LinkingTo (2)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1Latest
    2026-03-10 · current release
  • R
    R 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
Report a problem with this page →