get.params {HAC} | R 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 |
... |
further arguments passed to |
See Also
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
[Package HAC version 1.1-0 Index]