dplyr::summarise()
function for datasets on metric graphsCreates summaries, while keeps the spatial positions.
# S3 method for metric_graph_data
summarise(.data, ..., .include_graph_groups = FALSE, .groups = NULL)
A tidyr::tibble
with the resulting selected columns.
The data list or tidyr::tibble
obtained from a metric graph object.
Additional parameters to be passed to dplyr::summarise()
.
Should the internal graph groups be included in the grouping variables? The default is FALSE
. This means that, when summarising, the data will be grouped by the internal group variable together with the spatial locations.
A vector of strings containing the names of the columns to be additionally grouped, when computing the summaries. The default is NULL
.