Skip to content

divseg

Calculate Diversity and Segregation Indices

v0.1.0 · Sep 2, 2025 · MIT + file LICENSE

Description

Implements common measures of diversity and spatial segregation. This package has tools to compute the majority of measures are reviewed in Massey and Denton (1988) <doi:10.2307/2579183>. Multiple common measures of within-geography diversity are implemented as well. All functions operate on data frames with a 'tidyselect' based workflow.

Downloads

CRAN

318

Last 30 days

12399th

835

Last 90 days

3.8K

Last year

Trend: +30.3% (30d vs prior 30d)

r2u CRAN

9

Last 30 days

27

Last 90 days

151

Last year

Trend: -43.8% (30d vs prior 30d)

autoCRAN

2

Last 7 days

13

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies sf rlang dplyr tidyselect tibble units divseg

Version History

4 tracked
new 0.1.0 Mar 10, 2026
updated 0.1.0 ← 0.0.5 diff Sep 2, 2025
updated 0.0.5 ← 0.0.4 diff Dec 16, 2022
new 0.0.4 Aug 8, 2021