Learn R Programming

Zelig (version 5.1.7)

is_zeligei: Check if an object was created with ZeligEI

Description

Check if an object was created with ZeligEI

Usage

is_zeligei(
  x,
  msg = "Function is not relevant for ZeligEI objects.",
  fail = TRUE
)

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.