Learn R Programming

Zelig (version 5.1.7)

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

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.