integralJointMoTBF | R Documentation |
Integrate a "jointmotbf"
object over an non defined domain. It is able to
get the integral of a joint function over a set of variables or over all
the variables in the function.
integralJointMoTBF(P, var = NULL)
P |
A |
var |
A |
A multiintegral of a joint function of class "jointmotbf"
.
## 1. EXAMPLE ## Dataset with 2 variables X <- data.frame(rnorm(100), rnorm(100)) ## Joint function dim <- c(2,3) param <- parametersJointMoTBF(X, dimensions = dim) P <- jointMoTBF(param) ## Integral integralJointMoTBF(P) integralJointMoTBF(P, var="x") integralJointMoTBF(P, var="y") ############################################################################## ## MORE EXAMPLES ############################################################# ############################################################################## ## Dataset with 3 variables X <- data.frame(rnorm(50), rnorm(50), rnorm(50)) ## Joint function dim <- c(2,1,3) param <- parametersJointMoTBF(X, dimensions = dim) P <- jointMoTBF(param) ## Integral integralJointMoTBF(P) integralJointMoTBF(P, var="x") integralJointMoTBF(P, var="y") integralJointMoTBF(P, var="z") integralJointMoTBF(P, var=c("x","z"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.