ts_entropy: Entropy Index

Description Usage Arguments

Description

Entropy Index

Usage

1
ts_entropy(.data, id, total, newVar, return = c("index", "tibble"), ...)

Arguments

.data

A tbl

id

A unique identifier for each feature

total

Column with the total number of individuals per feature

newVar

If return = "tibble", this argument is used to provide name of entropy variable

return

Specifies output. When index, a single value will be returned. When tibble, a table will be returned with entropy values per feature appended as a column.

...

An quoted list of variable names containing individual group population counts.


slu-openGIS/tidyseg documentation built on May 14, 2019, 7:22 p.m.