| getMotbfDim | R Documentation |
Get the dimension of "motbf" and "jointmotbf" densities.
getMotbfDim(P)
P |
An object of class |
Dimension of the function.
univMoTBF and jointmotbf.fit
## 1. EXAMPLE
## Data
X <- rnorm(2000)
## Univariate function
f <- univMoTBF(X, POTENTIAL_TYPE = "MOP")
getMotbfDim(f)
## 2. EXAMPLE
## Dataset with 2 variables
X <- data.frame(x = rnorm(100), y = rnorm(100))
## Joint function
dim <- c(2,3)
P <- jointmotbf.fit(X, dimensions = dim)
## Dimension of the joint function
getMotbfDim(P)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.