accessors {triptych} | R Documentation |
Accessing original forecast and observation data for triptych objects
forecasts(x, ...)
observations(x, ...)
x |
An object from which the relevant information should be extracted. |
... |
Additional arguments passed to other methods. |
For forecasts()
: A tibble of the original forecasts in long format.
For observations()
: A vector of the observations.
data(ex_binary, package = "triptych")
tr <- triptych(ex_binary)
forecasts(tr)
observations(tr)