View source: R/doubleLogistics-init_param.R
init_param | R Documentation |
Initialize parameters of double logistic function
init_param(y, t, w, type = 1L) init_Zhang(e, type = 1L, ...) init_AG(e, type = 1L, ...) init_AG2(e, type = 1L, ...) init_Beck(e, type = 1L, ...) init_Elmore(e, type = 1L, ...) init_Gu(e, type = 1L, ...) init_Klos(e, type = 1L, ...)
y |
Numeric vector, vegetation index time-series |
t |
Numeric vector, |
w |
(optional) Numeric vector, weights of |
type |
integer,
|
e |
The object returned by |
... |
Others will be ignored. |
library(phenofit) # simulate vegetation time-series fFUN = doubleLog.Beck par = c( mn = 0.1, mx = 0.7, sos = 50, rsp = 0.1, eos = 250, rau = 0.1) t <- seq(1, 365, 8) tout <- seq(1, 365, 1) y <- fFUN(par, t) l_param <- init_param(y, t)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.