is_timeseries: Check if a zelig object contains a time series model
Description
Check if a zelig object contains a time series model
Usage
is_timeseries(x, msg = "Not a timeseries object.", fail = FALSE)
Arguments
msg
character string with the error message to return if
fail = TRUE
.
fail
logical whether to return an error if x
is not a timeseries.