MoTBFs (version 1.4.1)

coef.jointmotbf: Coefficients of a "jointmotbf" object

Description

Extracts the parameters of a joint MoTBF density.

Usage

# S3 method for 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

Run this code
# NOT RUN {
## 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 ############################################################
#############################################################################
# }
# NOT RUN {
## 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)
# }

Run the code above in your browser using DataLab