FitBLSP_spring | R Documentation |
This function fits a Bayesian mixed hierarchical land surface phenology model to the supplied data (can be sparse), and returns phenometrics for the entire time frame. For further explanation, please see the vignette.
FitBLSP_spring(
date_vec,
vi_vec,
weights_vec = NULL,
initValues = NULL,
cred_int_level = 0.9,
verbose = FALSE
)
date_vec |
The date vector, be sure to convert the vector to "Date" format or use "yyyy-mm-dd" format string. |
vi_vec |
The vegetation index vector. |
weights_vec |
A numeric vector of same length as vi_vec specifying the weights for the supplied observations. Must be between 0 and 1, inclusive. |
initValues |
Initial values for MCMC sampling. By default, it is
assgined |
cred_int_level |
A scalar value from 0 to 1 (exclusive) that specifies
the level for equal-tailed credible intervals of the estimated phenometrics.
The default level is 0.9, generating |
verbose |
logical. If |
An object of class BlspFit
will be returned. The object contains the
estimated spring and autumn phenometrics for each year, the generated model
parameter samples, and the input data.
## Not run:
data(landsatEVI2)
blsp_fit <- FitBLSP(date_vec = landsatEVI2$date, vi_vec = landsatEVI2$evi2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.