The 'smoothing_freq' function is used to smooth a given time series data by aggregating observations within a fixed frequency.
smoothing_freq(n)
returns an object of class smoothing_freq
number of bins
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
Run the code above in your browser using DataLab