isFunctions: legion classes checkers

is.legionR Documentation

legion classes checkers

Description

Functions to check if an object is of the specified class

Usage

is.legion(x)

is.oves(x)

is.legion.sim(x)

Arguments

x

The object to check.

Details

The list of methods includes:

  • is.legion() tests if the object was produced by a vector model (e.g. ves);

  • is.oves() tests if the object was produced by oves function;

  • is.legion.sim() tests if the object was produced by the functions sim.ves;

Value

TRUE if this is the specified class and FALSE otherwise.

Author(s)

Ivan Svetunkov, ivan@svetunkov.ru

Examples


ourModel <- ves(cbind(rnorm(100,100,10),rnorm(100,100,10)))

is.legion(ourModel)


legion documentation built on Feb. 16, 2023, 5:34 p.m.