ds_blau: Compute Blau's Index

View source: R/blau.R

ds_blauR Documentation

Compute Blau's Index

Description

Compute Blau's Index

Usage

ds_blau(.data, .cols, .name)

blau(..., .data = dplyr::across(everything()))

Arguments

.data

tibble

.cols

tidy-select Columns to compute the measure with.

.name

name for column with Blau index. Leave missing to return a vector.

...

arguments to forward to ds_blau from blau

Value

a tibble or numeric vector if .name missing

Examples

data("de_county")
ds_blau(de_county, starts_with('pop_'))
ds_blau(de_county, starts_with('pop_'), 'blau')

divseg documentation built on Dec. 28, 2022, 1:53 a.m.