Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

printNacopula

Print Compact Overview of a Nested Archimedean Copula ("nacopula")


Description

Print a compact overview of a nested Archimedean copula, that is, an object of class "nacopula". Calling printNacopula explicitly allows to customize the printing behavior. Otherwise, the show() method calls printNacopula with default arguments only.

Usage

printNacopula(x, labelKids=NA, deltaInd=, indent.str="",
	              digits=getOption("digits"),
	              width=getOption("width"), ...)

Arguments

x

an R object of class nacopula.

labelKids

logical specifying if child copulas should be labeled; If NA (as per default), on each level, children are labeled only if they are not only-child.

deltaInd

by how much should each child be indented more than its parent? (non-negative integer). The default is three with labelKids being the default or TRUE, otherwise it is five (for labelKids=FALSE).

indent.str

a character string specifying the indentation, that is, the string that should be prepended on the first line of output, and determine the amount of blanks for the remaining lines.

digits, width

number of significant digits, and desired print width; see print.default.

...

potentially further arguments, passed to methods.

Value

invisibly, x.

Examples

C8 <- onacopula("F", C(1.9, 1,
                       list(K1 = C(5.7, c(2,5)),
                            abc= C(5.0, c(3,4,6),
                                   list(L2 = C(11.5, 7:8))))))
C8 # -> printNacopula(C8)
printNacopula(C8, delta=10)
printNacopula(C8, labelKids=TRUE)

copula

Multivariate Dependence with Copulas

v1.0-1
GPL (>= 3) | file LICENCE
Authors
Marius Hofert [aut] (<https://orcid.org/0000-0001-8009-4665>), Ivan Kojadinovic [aut] (<https://orcid.org/0000-0002-2903-1543>), Martin Maechler [aut, cre] (<https://orcid.org/0000-0002-8685-9910>), Jun Yan [aut] (<https://orcid.org/0000-0003-4401-7296>), Johanna G. Nešlehová [ctb] (evTestK(), <https://orcid.org/0000-0001-9634-4796>), Rebecca Morger [ctb] (fitCopula.ml(): code for free mixCopula weight parameters)
Initial release
2020-12-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.