Subclass-MoTBF {MoTBFs}R Documentation

Subclass "motbf" Functions

Description

Collection of functions for detecting the subclass of an "motbf" object. It can be "mop" or "mte".

Usage

is.mte(fx)

is.mop(fx)

subclass(fx)

Arguments

fx

A function of the class "motbf".

Value

is.mte and is.mop return a logical value, TRUE if it is an "motbf" object of the subclass "mte" or "mop", respectly; or FALSE otherwise. subclass returns a "character" string, "mte" or "mop".

See Also

univMoTBF

Examples


## MOP Function
X <- rnorm(1000)
P <- univMoTBF(X, POTENTIAL_TYPE="MOP")
is.mop(P)
subclass(P)

## MTE Function
X <- rchisq(1000, df=4)
P <- univMoTBF(X, POTENTIAL_TYPE="MTE")
is.mte(P)
subclass(P)

[Package MoTBFs version 1.4.1 Index]