Computes segregation indices, including the Index of Dissimilarity, as well as the information-theoretic indices developed by Theil (1971) <isbn:978-0471858454>, namely the Mutual Information Index (M) and Theil's Information Index (H). The M, further described by Mora and Ruiz-Castillo (2011) <doi:10.1111/j.1467-9531.2011.01237.x> and Frankel and Volij (2011) <doi:10.1016/j.jet.2010.10.008>, is a measure of segregation that is highly decomposable. The package provides tools to decompose the index by units and groups (local segregation), and by within and between terms. The package also provides a method to decompose differences in segregation as described by Elbers (2021) <doi:10.1177/0049124121986204>. The package includes standard error estimation by bootstrapping, which also corrects for small sample bias. The package also contains functions for visualizing segregation patterns.
|Depends:||R (≥ 3.5.0)|
|Imports:||data.table, checkmate, Rcpp, RcppProgress|
|Suggests:||testthat, covr, knitr, rmarkdown, dplyr, ggplot2, scales, tidycensus, tigris|
|Author:||Benjamin Elbers [aut, cre]|
|Maintainer:||Benjamin Elbers <be2239 at columbia.edu>|
|License:||MIT + file LICENSE|
|Citation:||segregation citation info|
|CRAN checks:||segregation results|
A walkthrough of the segregation package
|Windows binaries:||r-devel: segregation_1.0.0.zip, r-release: segregation_1.0.0.zip, r-oldrel: segregation_1.0.0.zip|
|macOS binaries:||r-release (arm64): segregation_1.0.0.tgz, r-oldrel (arm64): segregation_1.0.0.tgz, r-release (x86_64): segregation_1.0.0.tgz, r-oldrel (x86_64): segregation_1.0.0.tgz|
|Old sources:||segregation archive|
Please use the canonical form https://CRAN.R-project.org/package=segregation to link to this page.