totLoad: Calculate total load from a time series of estimated loads

Description Usage Arguments Value

View source: R/calcLoad.R

Description

Uses trapezoid approximation for integral.

Usage

1
totLoad(load, datetime, load.units = c("kg/day", "kg/yr", "tonne/yr"))

Arguments

load

time series of loads.

datetime

dates/times corresponding to loads. Can be either a "time" or "Date" object.

load.units

units for the "load" time-series input. Can either be "kg/day" (default), "kg/yr", or "tonne/yr".

Value

A single number–the mass load in whatever units are in the numerator of load.units (defult is kg/day, meaning the result is in units of kg)


markwh/rcmodel documentation built on May 21, 2019, 12:26 p.m.