StandardTSIMD <- function(X){
# returns X standardised.
X_var = var(X)
X_c = CenterTSIMD(X)
X_stand = X_c %*% matpower(X_var,-0.5) # From sSDR package
return(X_stand)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.