Description Usage Arguments Value Examples
Depending on which function is chosen, either all APA-properties,
all aggregation classes, all subplots or all polygons of APA-patches will
be removed from all datasets in the apa_list
.
1 2 3 4 5 6 7 |
apa_list |
A |
A apa_list
where the respective elements were removed.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | library(APAtree)
data(tree_enrico, package = "APAtree")
data(plot_enrico, package = "APAtree")
data(subplot_enrico, package = "APAtree")
# Only calculate an apa_list for two plots and with a coarse resolution of 10 m
# to save time.
apa_list_enrico <-
APAtree::apa_list(plot_dat = subset(plot_enrico, id_plot %in% c("5.2", "8.2")),
tree_dat = tree_enrico,
plot_id_column = "id_plot",
tree_id_column = "id_tree",
weight_column = "crown_radius_95",
res = 10,
agg_class_column = "species",
subplot_dat = list(subplot = subplot_enrico),
subplot_id_column = c(subplot = "id_subplot"),
apa_properties = c("apa_size"),
apa_polygon = TRUE)
# removes all APA-properties
apa_list_enrico_1 <-
apa_drop_properties(apa_list_enrico)
# removes all aggregation classes
apa_list_enrico_2 <-
apa_drop_agg_class(apa_list_enrico)
# removes all subplots
apa_list_enrico_3 <-
apa_drop_subplot(apa_list_enrico)
# removes all polygons of APA-patches
apa_list_enrico_4 <-
apa_drop_polygon(apa_list_enrico)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.