integralMTE: Integrating MTEs

View source: R/mte.R

integralMTER Documentation

Integrating MTEs

Description

Method to calculate the non-defined integral of an "motbf" object of 'mte' subclass.

Usage

integralMTE(fx)

Arguments

fx

An "motbf" object of subclass 'mte'.

Value

The non-defined integral of the function.

See Also

univMoTBF for learning and integralMoTBF for a more complete function to get defined and non-defined integrals of class "motbf".

Examples


## 1. EXAMPLE
X <- rexp(1000)
Px <- univMoTBF(X, POTENTIAL_TYPE="MTE")
integralMTE(Px)

## 2. EXAMPLE
X <- rnorm(1000)
Px <- univMoTBF(X, POTENTIAL_TYPE="MTE")
integralMTE(Px)

## Not run: 
## 3. EXAMPLE
X <- rnorm(1000)
Px <- univMoTBF(X, POTENTIAL_TYPE="MOP")
integralMTE(Px)
## Error in integralMTE(Px): fx is an 'motbf' function but not 'mte' subclass.
class(Px)
subclass(Px)

## End(Not run)

MoTBFs documentation built on April 18, 2022, 5:06 p.m.

Related to integralMTE in MoTBFs...