Creates a daily sequence for one year from parameters

plant_coupmodel(
  minval,
  maxval,
  doy.incr,
  doy.max,
  doy.min,
  shape.incr,
  shape.decr,
  maxdoy
)

Arguments

minval

Minimum value.

maxval

Maximum value.

doy.incr

Day of year when increasing from minval to maxval begins.

doy.max

Day of year when maxval is reached.

doy.min

Day of year when minval is reached again.

shape.incr

Shape parameter of the increasing phase.

shape.decr

Shape parameter of the decreasing phase.

maxdoy

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

Value

A numeric vector of length maxdoy.

References

Jansson, P.-E. & Karlberg, L. (2004): "Coupled heat and mass transfer model for soil-plant-atmosphere systems." Royal Institute of Technolgy, Dept of Civil and Environmental Engineering Stockholm

Examples

plot(plant_coupmodel(0,5, 121, 200, 280, 0.3, 3, 365))