Creates a daily sequence for one year from parameters

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