ts_norm_ean | R Documentation |
It takes 2 parameters: remove_outliers and nw
ts_norm_ean(remove_outliers = TRUE, nw = 0)
remove_outliers |
logical: if TRUE (default) outliers will be removed. |
nw |
windows size |
a ts_norm_ean
object.
# time series to normalize
data(sin_data)
# convert to sliding windows
ts <- ts_data(sin_data$y, 10)
ts_head(ts, 3)
summary(ts[,10])
# normalization
preproc <- ts_norm_ean()
preproc <- fit(preproc, ts)
tst <- transform(preproc, ts)
ts_head(tst, 3)
summary(tst[,10])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.