lg5.deriv: Derivative of LG5 function

View source: R/DENDRO_BASE_FUNCTIONS.R

lg5.derivR Documentation

Derivative of LG5 function

Description

This function takes the numerical derivative. Default values return a single day of growth. Using the 'growth' argument, the derivative can be returned, scaled by annual growth.

Usage

lg5.deriv(paras, doy, growth = 1, shift = 0.5)

Arguments

paras

Numeric vector of parameters for the lg5 function

doy

Integer vector of days of the year dbh values collected.

growth

Unclear.

shift

Numeric scalar that gives half the size of the window the derivitive is taken over (in days).

Value

returns numeric vectore of derivatives


seanmcm/RDendrom documentation built on March 2, 2024, 3:53 p.m.