If there are subplots within the plots for which APA-characteristics should be
calculated, they may be added to the apa_list.
apa_add_subplot_dat(
apa_list,
subplot_dat,
subplot_id_column,
radius = NULL,
apa_polygon = attr(apa_list, "apa_config")$apa_polygon
)A apa_list-object that was created with the
[apa_list]-function.
A named list with datasets (sf-data.frames)
about the subplots . Each data.frame in subplot_dat has to
have a unique name, a column with the plot_id, an own id-column
(specified via the subplot_id_column argument) and a geometry
column. The geometry column either has to contain POLYGON-data or
POINT-data (in which case APA-properties in circular neighborhoods
around the points will be calculated.)
A named vector specifying the id-columns of the subplot datasets.
If a geometry column in subplot_dat contains
POINT-data, radius specifies the radius of the neighborhood
analysis.
Should polygons of the the APA-patches added to the dataset?