Interface of optimization functions for double logistics and other parametric curve fitting functions.
optim_pheno(prior, sFUN, y, t, tout, method, w, nptperyear, ylu,
iters = 2, wFUN = wTSM, verbose = FALSE, ...)A vector of initial values for the parameters for which optimal
values are to be found. prior is suggested giving a column name.
The name of fine curve fitting functions, can be one of 'FitAG', 'FitDL.Beck', 'FitDL.Elmore', 'FitDL.Gu' and 'FitDL.Klos', 'FitDL.Zhang'.
Numeric vector, vegetation index time-series
Numeric vector, Date variable
Corresponding doy of prediction.
The name of optimization method to solve fine fitting, passed
to I_optim() or I_optimx().
I_optim supports 'BFGS','CG','Nelder-Mead', 'L-BFGS-B', 'nlm', 'nlminb', 'ucminf';
I_optimx supports 'spg','Rcgmin','Rvmmin', 'newuoa','bobyqa','nmkb','hjkb'.
(optional) Numeric vector, weights of y. If not specified,
weights of all NA values will be wmin, the others will be 1.0.
Integer, number of images per year, passed to wFUN.
Only wTSM() needs nptperyear. If not specified,
nptperyear will be calculated based on t.
ymin, ymax, which is used to force ypred in the
range of ylu.
How many times curve fitting is implemented.
weights updating function, can be one of 'wTSM', 'wChen' and 'wBisquare'.
Whether to display intermediate variables?
other parameters passed to I_optim() or I_optimx().
fFIT object, see fFIT() for details.