coef.jointmotbf {MoTBFs} | R Documentation |
Coefficients of a "jointmotbf"
object
Description
Extracts the parameters of a joint MoTBF density.
Usage
## S3 method for class 'jointmotbf'
coef(object, ...)
Arguments
object |
An MoTBF function. |
... |
Other arguments, unnecessary for this function. |
Value
A "numeric"
vector with the parameters of the function.
See Also
parametersJointMoTBF and jointMoTBF
Examples
## 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)
[Package MoTBFs version 1.4.1 Index]