is.element-methods {ClustMMDD}R Documentation

Check if a modelKS object is in a set of such objects.

Description

Return TRUE if an instance of modelKS belongs to a set.

Arguments

el

An instance of modelKS class.

set

A set of instances of modelKS class.

Value

TRUE if the object el belongs to a given set of modelKS.

Methods

signature(el = c("modelKS"), set = c("modelKS"))

The two arguments must be vectors (see examples)

Author(s)

Wilson Toussile

Examples

data(exModelKS)
is.element(c(exModelKS), c(exModelKS))
is.element(c(exModelKS, 1, c(1:5)), c(exModelKS))
is.element(c(exModelKS), c(exModelKS, 1, list(1:5, 0)))

[Package ClustMMDD version 1.0.4 Index]