twIntegrateTS: twIntegrateTS

Description Usage Arguments Value Author(s)

View source: R/odeUtil.R

Description

Integrate dy between xl and xr.

Usage

1
2
twIntegrateTS(dy, x, xl = min(x, na.rm = TRUE), xr = max(x, 
    na.rm = TRUE), na.rm = TRUE, doSort = TRUE)

Arguments

dy

rate

x

times, rate dy refers to interval (x[i],x[i+1]), see twCalcObsScale to translate to this observation scale

xl

left edge of integration

xr

right edge of integration

na.rm

can be set to FALSE for performance reasons

doSort

can be set to FALSE for performance reasons

Value

Each dy_i is giving the slope for succeeding time interval x_i to x_i+1 result vector is of length( sum(is.na(x)) )-1

Author(s)

Thomas Wutzler


twMisc documentation built on May 2, 2019, 6:11 p.m.