apa_add_subplot_dat: Add subplots to datasets

Description Usage Arguments

View source: R/apa_list.R

Description

If there are subplots within the plots for which APA-characteristics should be calculated, they may be added to the apa_list.

Usage

1
2
3
4
5
6
7
apa_add_subplot_dat(
  apa_list,
  subplot_dat,
  subplot_id_column,
  radius = 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.

subplot_dat

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.)

subplot_id_column

A named vector specifying the id-columns of the subplot datasets.

radius

If a geometry column in subplot_dat contains POINT-data, radius specifies the radius of the neighborhood analysis.

apa_polygon

Should polygons of the the APA-patches added to the dataset?


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