IndexByGroups {cati} | R Documentation |
Transforme a list of metrics to apply them to groups, typically to populations.
IndexByGroups(metrics, groups)
metrics |
A vector of metrics like the argument "index" of function ComIndex |
groups |
Name of the factor to apply the metrics to groups in the form "pop", e.g. population |
A vector of transformed metrics
Adrien Taudiere