derivMOP | R Documentation |
Compute the derivative of an "motbf"
object with 'mop'
subclass.
derivMOP(fx)
fx |
An |
The derivative which is also an "motbf"
function.
univMoTBF for learning and derivMoTBF for
general "motbf"
models.
## 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)
## Not run:
## 3. EXAMPLE
X <- rnorm(1000)
Px <- univMoTBF(X, POTENTIAL_TYPE="MTE")
derivMOP(Px)
## Error in derivMOP(Px): fx is an 'motbf' function but not 'mop' subclass.
class(Px)
subclass(Px)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.