Package: segregation
Type: Package
Title: Entropy-Based Segregation Indices
Version: 1.1.0
Authors@R: person("Benjamin", "Elbers", email = "be2239@columbia.edu",
  role = c("aut", "cre"), comment = c(ORCID = "0000-0001-5392-3448"))
Description: 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.
License: MIT + file LICENSE
Depends: R (>= 3.5.0)
Imports: data.table, checkmate, Rcpp, RcppProgress,
Encoding: UTF-8
LazyData: true
Suggests: testthat, covr, knitr, rmarkdown, dplyr, ggplot2, scales,
        tidycensus, tigris, rrapply, dendextend, patchwork
URL: https://elbersb.github.io/segregation/
BugReports: https://github.com/elbersb/segregation/issues
RoxygenNote: 7.2.3
VignetteBuilder: knitr
SystemRequirements: C++17
LinkingTo: Rcpp, RcppProgress
NeedsCompilation: yes
Packaged: 2023-12-02 11:54:48 UTC; benjamin
Author: Benjamin Elbers [aut, cre] (<https://orcid.org/0000-0001-5392-3448>)
Maintainer: Benjamin Elbers <be2239@columbia.edu>
Repository: CRAN
Date/Publication: 2023-12-02 12:10:01 UTC
Built: R 4.4.3; x86_64-w64-mingw32; 2025-11-12 02:02:16 UTC; windows
Archs: x64
