get.params: Dependency parameters of a HAC

View source: R/tree2str.r

get.paramsR Documentation

Dependency parameters of a HAC

Description

This function returns the copula parameter(s). They are ordered from top to down and left to right.

Usage

get.params(hac, sort.v = FALSE, ...)

Arguments

hac

an object of the class hac.

sort.v

boolean. If sort.v = TRUE, the output is sorted.

...

further arguments passed to sort.

See Also

tree2str

Examples

# construct a copula model
tree = list(list("X1", "X5", "X2", 4), list("X3", "X4", "X6", 3), 2)
model = hac(type = 1, tree)

# return the parameter
get.params(model) # [1] 2 4 3
get.params(model, sort.v = TRUE, decreasing = TRUE) # [1] 4 3 2

HAC documentation built on March 18, 2022, 6:38 p.m.

Related to get.params in HAC...