category
stringclasses
2 values
function
stringclasses
71 values
instruction_en
stringlengths
21
489
response_en
stringlengths
3
748
R for Data Science
Quarto formats
Decompose the AirPassengers time series into trend, seasonal, and irregular components using STL (Seasonal-Trend decomposition using Loess).
```r library(stlplus) stl_decomp <- stlplus(AirPassengers, s.window = 'periodic') plot(stl_decomp) ```