apa_add_agg_class: Add aggregation classes to an 'apa_list'

Description Usage Arguments

View source: R/apa_list.R

Description

Additional grouping variables are added to an apa_list (for example tree species information). All APA-properties will be aggregated for these classes as well.

Usage

1
2
3
4
5
apa_add_agg_class(
  apa_list,
  agg_class_column = NULL,
  apa_polygon = attr(apa_list, "apa_config")$apa_polygon
)

Arguments

apa_list

A apa_list-object that was created with the [apa_list]-function.

agg_class_column

A vector of column names in apa_list$tree_dat that specify variables that are used as additional grouping variable.

apa_polygon

logical, specifies if POLYGONs of APA-patches be should be added.


JonasGlatthorn/APAtree documentation built on Dec. 18, 2021, 1:41 a.m.