Derivative MOP

Share:

Description

Compute the derivative of an "motbf" object with 'mop' subclass.

Usage

1

Arguments

fx

An "motbf" object of the 'mop' subclass.

Value

The derivative which is also an "motbf" function.

See Also

univMoTBF for learning and derivMoTBF for general "motbf" models.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## 1. EXAMPLE
X <- rexp(1000)
Px <- univMoTBF(X, POTENTIAL_TYPE="MOP")
derivMOP(Px)

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

## 3. EXAMPLE
X <- rnorm(1000)
Px <- univMoTBF(X, POTENTIAL_TYPE="MTE")
derivMOP(Px)
## Message: It is an 'motbf' function but not 'mop' subclass.
class(Px)
subclass(Px)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.