plant_b90: Interpolate plant properties using the 'b90' method.

View source: R/plantb90.R

plant_b90R Documentation

Interpolate plant properties using the 'b90' method.

Description

Creates a daily sequence for one year from parameters

Usage

plant_b90(minval, maxval, doy.incr, incr.dur, doy.decr, decr.dur, maxdoy)

Arguments

minval

Minimum value.

maxval

Maximum value.

doy.incr

Day of year when increasing from minval to maxval begins.

incr.dur

Duration (number of days) since doy.incr until maxval is reached.

doy.decr

Day of year when decreasing to minval begins.

decr.dur

Duration (number of days) since doy.incr until minval is reached.

maxdoy

Length of the year, 366 for leap years, 365 for normal years.

Value

A numeric vector of length maxdoy.

Examples

plot(plant_b90(minval = 0,maxval=1,
doy.incr = 121,incr.dur = 28,
doy.decr = 280, decr.dur = 50,
maxdoy = 365))

LWFBrook90R documentation built on Oct. 17, 2023, 1:10 a.m.