plant_linear | R Documentation |
Creates a daily sequence for one year from doy/value pairs.
plant_linear(doys, values, maxdoy)
doys |
Integer vector of dates (days of year). |
values |
Numeric vector of values. |
maxdoy |
Integer length of the year, 366 for leap years, 365 for normal years. |
A numeric vector of length maxdoy
.
doys <- c(110,200,250,280)
values <- c(0,0.8,1,0)
maxdoy <- 365
plot(plant_linear(doys = doys, values = values, maxdoy = 365))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.