rmw_clip | R Documentation |
rmw_normalise
.rmw_clip
helps if the random forest model behaves strangely at the
beginning and end of the time series during prediction.
rmw_clip(df, seconds = 31536000/2)
df |
Data frame from |
seconds |
Number of seconds to clip from start and end of time-series. The default is half a year. |
Data frame.
Stuart K. Grange
rmw_normalise
, rmw_plot_normalised
# Clip the edges of a normalised time series, default is half a year
data_normalised_clipped <- rmw_clip(data_london_normalised)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.