is_zeligei: Check if an object was created with ZeligEI

Description Usage Arguments

View source: R/assertions.R

Description

Check if an object was created with ZeligEI

Usage

1
2
3
4
5
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.


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