User Tools

Site Tools


how_to_eliminate_seasonal_effects_of_time_series

By decomposition, we mean breaking it down into trend, seasonal and irregular (noise) components.

df <- read.csv("C:/Users/Vincenzo Grasso/Desktop/id.csv",sep = ",")
ts <- ts(df, frequency=7)
plot(ts)
decomp_ts <- decompose(ts)
plot(decomp_ts)
str(decomp_ts)
plot(decomp_ts$trend)
how_to_eliminate_seasonal_effects_of_time_series.txt · Last modified: 2015/08/12 17:51 by vincenzo