Perform STL Decomposition
decompose_stl.RdApplies Seasonal-Trend decomposition using Loess (STL) to a time series. This separates the signal into seasonal, trend, and remainder components.
Value
List with:
decomposition: stl object
components: data frame with time, seasonal, trend, remainder
summary: summary statistics of each component
Examples
if (FALSE) { # \dontrun{
con <- connect_duckdb()
data <- query_buoy_data(con, stations = "M3")
stl_result <- decompose_stl(data)
DBI::dbDisconnect(con)
} # }