coef.jointmotbf | R Documentation |
"jointmotbf"
objectExtracts the parameters of a joint MoTBF density.
## S3 method for class 'jointmotbf'
coef(object, ...)
object |
An MoTBF function. |
... |
Other arguments, unnecessary for this function. |
A "numeric"
vector with the parameters of the function.
parametersJointMoTBF and jointMoTBF
## Generate a dataset
data <- data.frame(X1 = rnorm(100), X2 = rnorm(100))
## Joint function
dim <-c(2,4)
param <- parametersJointMoTBF(data, dimensions = dim)
P <- jointMoTBF(param)
P$Time
## Coefficients
coef(P)
#############################################################################
## MORE EXAMPLES ############################################################
#############################################################################
## Generate a dataset
data <- data.frame(X1 = rnorm(100), X2 = rnorm(100), X3 = rnorm(100))
## Joint function
dim <-c(2,4,3)
param <- parametersJointMoTBF(data, dimensions = dim)
P <- jointMoTBF(param)
P$Time
## Coefficients
coef(P)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.