nVariables | R Documentation |
Compute the number of variables which are in a jointmotbf
object.
nVariables(P)
P |
An |
A "character"
vector with the names of the variables in the function.
# 1. EXAMPLE ## Generate a dataset data <- data.frame(X1 = rnorm(100), X2 = rnorm(100)) ## Joint function dim <-c(3,2) param <- parametersJointMoTBF(data, dimensions = dim) P <- jointMoTBF(param) P ## Variables nVariables(P) ############################################################################## ## MORE EXAMPLES ############################################################# ############################################################################## ## Generate a dataset data <- data.frame(X1 = rnorm(100), X2 = rnorm(100), X3 = rnorm(100)) ## Joint function dim <- c(2,1,3) param <- parametersJointMoTBF(data, dimensions = dim) P <- jointMoTBF(param) ## Variables nVariables(P)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.