is_timeseries: Check if a zelig object contains a time series model

Description Usage Arguments

View source: R/assertions.R

Description

Check if a zelig object contains a time series model

Usage

1
is_timeseries(x, msg = "Not a timeseries object.", fail = FALSE)

Arguments

x

a zelig object

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.


Zelig documentation built on Jan. 8, 2021, 2:26 a.m.