get_averaged_collapsed_data: Function to get averaged by periods and collapsed data by...

Description Usage Arguments Value

View source: R/f_averaging.R

Description

This function averages output data by periods and collapse it by setups.

Usage

1
get_averaged_collapsed_data(df, period_list, data_type = "y", rch = FALSE)

Arguments

df

Data.frame of imported output.*** SWAT file

period_list

List of periods used in averaging data (example period_list <- list (base = c(2000, 2019), mid = c(2040, 2059), end = c(2080, 2099)))

data_type

One letter sting "y" for yearly or "m" for monthly.

rch

TRUE or FALSE to leave reach numbers for yearly data.

Value

Data.frame of averaged data over periods and collapsed to setups (it means removing reach information).


biopsichas/swattools documentation built on May 27, 2021, 6:17 p.m.