stnd.Ht | R Documentation |
Standardize temporal covariates with respect to both the spacial and time dimensions
stnd.Ht(Ht, n)
Ht |
Temporal covariates (of supporting sites). A |
n |
Number of sites. A positive scalar integer. |
A \tau
x p_t
numeric matrix.
stnd.Hs
, stnd.Hst.ls
.
##### Please see the examples in Hst.sumup
## The function is currently defined as
function (Ht, n)
{
h.mean <- apply(Ht, 2, mean)
sHt <- t(t(Ht) - h.mean)
sHt <- t(t(sHt)/apply(sHt, 2, function(x) {
sqrt(sum(x^2))
}))
sHt <- sHt * sqrt(nrow(Ht)/n)
return(sHt)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.