nesdepth | R Documentation |
Compute the nesting depth of a nested Archimedean copula which is the length of the longest branch in the tree representation of the copula, and hence at least one.
nesdepth(x)
x |
object of class |
an integer, the nesting depth of the nested Archimedean copula.
An (unnested) Archimedean copula has depth 1
.
dim
of nacopulas.
F2 <- onacopula("F", C(1.9, 1, C(4.5, c(2,3))))
F2
F3 <- onacopula("Clayton", C(1.5, 3:1,
C(2.5, 4:5,
C(15, 9:6))))
nesdepth(F2) # 2
nesdepth(F3) # 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.