A reprex
(see the FAQ is a minimum reproducible example. This is simple enough that it's not strictly necessary, but I need to understand whether Discharge
records anything for the off-season—either NA or 0.
The frequency should have no effect other than changing the scaling of the x-axis
.
# example data
data("varve",package = "astsa")
plot(varve)
faux <- ts(as.vector(varve), start = c(2010,5))
plot(faux)
faux <- ts(as.vector(varve), start = c(2010,5), frequency = 1)
plot(faux)
faux <- ts(as.vector(varve), start = c(2010,5), frequency = 365)
plot(faux)
faux <- ts(as.vector(varve), start = c(2010,5), frequency = 184)
plot(faux)
Created on 2023-08-11 with reprex v2.0.2