| hetervar | R Documentation |
Variance of some remotely-sensed Earth data is time-varying. Utilizing the observations per period (season, year), this function allows for estimation of variability in data either as numeric vector or matricial form
hetervar(
x,
m = NULL,
lenPeriod = 23,
method = c("standard", "robust-mad", "robust-Qn")
)
x |
numeric vector |
m |
matrix with |
lenPeriod |
numeric giving the number of observations per period. Default, 23. |
method |
character specifying whether |
Designed for data extracted from time series of satellite imagery. Then, it is expected that
length(x) be a multiple of lenPeriod. When m is provided,
ncol(m) must be equal to lenPeriod. Default of lenPeriod corresponds to the
temporal resolution of some MODIS products.
Method standard invokes sd whereas robust-mad
uses the median absolute deviation of mad and robust-Qn
utilizes the robust scale estimator implemented in Qn.
This function does not allow missing values.
A numeric vector of length lenPeriod
sd, mad, Qn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.