smoothing_freq {daltoolbox} | R Documentation |
Smoothing by Freq
Description
The 'smoothing_freq' function is used to smooth a given time series data by aggregating observations within a fixed frequency.
Usage
smoothing_freq(n)
Arguments
n |
number of bins |
Value
obj
Examples
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
[Package daltoolbox version 1.0.767 Index]