Learn R Programming

LWFBrook90R (version 0.6.2)

plant_b90: 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)

Value

A numeric vector of length 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.

Examples

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

Run the code above in your browser using DataLab