gr_summarize {grwat} | R Documentation |
Summarize hydrograph separation
Description
Use this function to get meaningful summary statistics for hydrograph separation. Resulting variables are described by gr_help_vars()
. This function is a convenient wrapper around dplyr's df %>% group_by %>% summarize
idiom.
Usage
gr_summarize(df, year_min = NULL, year_max = NULL)
Arguments
df |
|
year_min |
|
year_max |
|
Value
data.frame
with one row for each water-resources year and multiple columns of statistics explained by gr_help_vars()
.
Examples
library(grwat)
data(spas) # example Spas-Zagorye data is included with grwat package
# separate
sep = gr_separate(spas, params = gr_get_params(reg = 'center'))
# summarize
vars = gr_summarize(sep)
head(vars)
gr_plot_vars(vars, Qygr, tests = TRUE)
[Package grwat version 0.0.4 Index]