Forecasting, Time Series Analysis, Fourier Transform, R, Ml So Good.
the sine and cosine functions to be used in a workable model. TC_df_wave2<-TC_df%>% filter(RecordType=="VOIP call")%>% timetk::summarise_by_time( .date_var = newdate, .by = "day", value = sum(n))%>% mutate(newdate = date(newdate))%>% ungroup()%>% as.data.frame()%>% as.ts() fit_harmR