cs_group | R Documentation |
This function takes a vector of areas and lengths and returns a index vector that combines them towards an ideal aggregate area (athres). While enforcing a minimum area (amin) and length (lmin). Additionally, this function can take a set of indexes to exclude over which the network cannot be aggregated.
cs_group(areas, lengths, exclude, ideal_size_sqkm, amin, lmin)
areas |
a vector of areas |
lengths |
a vector of lengths |
exclude |
a vector of equal length to areas and lengths. Any non NA value will be used to enforce an aggregation break |
ideal_size_sqkm |
a vector of areas |
amin |
a threshold, or target, cumulative size |
lmin |
a threshold, or target, cumulative size |
a vector of length(areas) containing grouping indexes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.