phenololine {phenolocrop}R Documentation

Return time-series curve given the time-series model and parameter values

Description

phenololine function returns the predicted values given the model name and model parameters.

Usage

phenololine(param, x, method)

Arguments

param

Vector of model parameter values.

x

Vector of time (e.g. vector of dates).

method

Character name of the time-series model. At present, only "logisLateDicr" is accepted.

Details

If method = "logisLateDicr", param should be the vector of c(K, d0, r, a, d1).

Value

phenololine function returns the trait values given x.

Examples

library(phenolocrop)
y <- riceCH_eg |>
   logisLateDicr("x", "height") |>
   phenololine(x = 1:160, method = "logisLateDicr")
plot(1:160, y, type = "l")


[Package phenolocrop version 0.0.2 Index]