summarise_polygons: Summarise the polygons

Description Usage Arguments Details

Description

Function to summarise variable values for each selected polygon

Usage

1
2
3
4
5
summarise_polygons(data_core, ..., polygon_group, func_group = "",
  cd = FALSE, .funs = dplyr::funs(mean = mean(., na.rm = TRUE), sd =
  stats::sd(., na.rm = TRUE), min = min(., na.rm = TRUE), max = max(., na.rm =
  TRUE), median = stats::median(., na.rm = TRUE), q95 = stats::quantile(., probs
  = 0.95, na.rm = TRUE), n = dplyr::n()))

Arguments

data_core

tbl con, usually obtained from data_core() function

...

filter arguments

polygon_group

character indicating the polygon group to summarise

func_group

character indicating the functional group to also summarise, if any.

cd

logical indicating if diameter classes must be considered

.funs

funs (dplyr) object with the functions to summarise

Details

This function takes the core data for the plots and calculate the summaries based on the polygon kind selected. It also can be filtered before summarising in the case of dominant functional groups


MalditoBarbudo/tidyIFN documentation built on May 7, 2019, 8:05 a.m.