View source: R/trans_smoothing_freq.R
smoothing_freq | R Documentation |
The 'smoothing_freq' function is used to smooth a given time series data by aggregating observations within a fixed frequency.
smoothing_freq(n)
n |
number of bins |
obj
data(iris)
obj <- smoothing_freq(n = 2)
obj <- fit(obj, iris$Sepal.Length)
sl.bi <- transform(obj, iris$Sepal.Length)
table(sl.bi)
obj$interval
entro <- evaluate(obj, as.factor(names(sl.bi)), iris$Species)
entro$entropy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.