powered by
Creates a time-series plot for climate variables with automatic hemisphere-based season detection.
plot_station_timeseries( df, station, var = "Avg.Tn", smooth = TRUE, theme_dark = FALSE )
A ggplot object.
A tidy dataset containing columns: Station, Date, LAT, and variables.
Station
Date
LAT
Station name.
Climate variable to plot.
Add LOESS smoothing line.
Use dark theme.
stations <- create_stations(n = 3) sim <- simulate_climate_series(stations) plot_station_timeseries(sim, station = "Station_1", var = "Avg.Tn")
Run the code above in your browser using DataLab