teffEst | R Documentation |
STFIT Temporal Effect Estimation
teffEst( ids, doy, rmat, doyeval = seq(min(doy), max(doy)), h.cov = 100, h.sigma2 = 300, weight.cov = NULL, weight.sigma2 = NULL, pve = 0.99, t.grid = NULL, t.grid.num = 50, var.est = FALSE )
ids |
ids for 'group', for data with repeated measurement over years, year is ids; for pixels belong to certain clusters, cluster is ids. |
doy |
vecotr of DOY (day of the year) |
rmat |
residual matrix with rows corresponding to |
doyeval |
a vector of DOY on which to get the temporal imputation |
h.cov |
bandwidth for temporal covariance estimation; ignored if |
h.sigma2 |
bandwidth for temporal variance estimation |
weight.cov |
weight vector for temporal covariance estimation |
weight.sigma2 |
weight vector for temporal variance estimation |
pve |
percentage of variance explained; used for number of eigen values selection. Default is 0.99. |
t.grid |
a vector of grid points on which to calculate the temporal covariance function |
t.grid.num |
number of grid points to use for temporal covariance estimation. Ignored if |
var.est |
Whether to estimate the variance of the temporal effect. Default is FALSE. |
List of length 2 with entries:
teff_array: 3-d array with first dimention 'ids', second dimention 'doy' and third dimention pixel index.
teff_var_array: same structure as teff_array
if var.est
is TRUE,
otherwise NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.