Description Usage Arguments Functional groups
View source: R/data_modifications.R
Summarise the data by polygon groups and functional groups (if any)
1 2 3 4 5 6 | nfi_results_summarise(nfi_data, polygon_group = "none",
functional_group = "none", diameter_classes, dominant_group = "none",
dominant_criteria = "density", dominant_nfi = "none", polygon_object,
conn, .funs = dplyr::funs(mean = mean(., na.rm = TRUE), se = sd(.,
na.rm = TRUE)/sqrt(n()), min = min(., na.rm = TRUE), max = max(., na.rm =
TRUE), n = n()), .collect = TRUE)
|
nfi_data |
tbl from |
polygon_group |
character indicating the polygon group to summarise, if any. |
functional_group |
Functional group to retrieve table for. Default to 'none' (no functional group). See details for more information |
diameter_classes |
Logical indicating if the table contains diameter classes |
dominant_group |
Dominant functional group to summarise data, if any. |
dominant_criteria |
Character with the dominancy criteria, basal area
( |
dominant_nfi |
Character with the nfi version for the dominancy in the case of
the comparision tables. Defauilt to |
conn |
pool connection to the database |
.funs |
functions list (as obtained from |
.collect |
Logical indicating if the tbl must be collected locally. Default to TRUE |
functional_group
parameter allows to retrieve the table of plots
broken down by the desired group. Allowed values are:
"none"
(No breakdown)
"species"
"simpspecies"
"genus"
"dec"
(Deciduous/Esclerophyllous/Conifer)
"bc"
(Broadleaf/Conifer)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.