wb.all: Calculate the water balance 'wb.all'

View source: R/WaterBalance.R

wb.allR Documentation

Calculate the water balance wb.all

Description

Calculate the water balance wb.all

Usage

wb.all(
  xl = loaddata(varname = c(paste0("elev", c("prcp", "eta", "etp")), "rivqdown",
    paste0("eley", c("surf", "unsat", "gw")))),
  ic = readic(),
  fun = xts::apply.monthly,
  plot = TRUE
)

Arguments

xl

List of data. Five variables are included: prcp (eleqprcp), etic (eleqetic), ettr (eleqettr), etev (eleqetev) and discharge (rivqflx)

ic

Initial Condition.

fun

function to process the time-series data. Default = apply.daily.

plot

Whether plot the result

Value

A matrix, contains the colums of water balance factors


SHUD-System/SHUDtoolbox documentation built on Nov. 27, 2024, 5:54 a.m.