View source: R/networkProperties.R
calcNetworkMetricsSummStats | R Documentation |
Calculates a set of summary statistical metrics on a data.table of network metrics per pixel, per group of a grouping variable (or several)
calcNetworkMetricsSummStats(
DT,
stats = c("mean", "sd", "cv", "median", "min", "max"),
id.vars,
measure.vars = NULL,
na.rm = FALSE
)
DT |
is a data.table of variables on which the summary stats will be calculated |
stats |
is a list of summary statistics to calculate. Select from "mean", "sd", "cv", "median", "min", "max", where "cv" is the coefficient of variation |
id.vars |
character vector of grouping variable names |
measure.vars |
character vector variables to summarise. If NULL then all non id.vars are used |
na.rm |
is passed to summary statistics functions |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.