Learn R Programming

HAC (version 0.1-1)

get.params: Dependency parameters of a HAC

Description

This function returns the dependency parameters. They are ordered from top to down and left to right.

Usage

get.params(hac)

Arguments

hac
an object of the class hac.

See Also

tree2str

Examples

Run this code
# construct a copula model
M = matrix(c(2, 0, 0, 0, 4, 3, 0, 0, ~X1 + X5, ~X2, ~X3, ~X4 + X6),
ncol = 4, byrow = TRUE)
g.model = hac(HAC_GUMBEL, M)

# return the parameter
get.params(g.model) # [1] 2 4 3

Run the code above in your browser using DataLab