Learn R Programming

copula (version 0.999-7)

getAcop: Get "acopula" Family Object by Name

Description

Get one of our "acopula" family objects (see acopula-families by name.

Usage

getAcop(family, check=TRUE)

Arguments

family
either a character string, the short or longer form of the Archimedean family name (for example, "Clayton" or simply "C"; see the acopula-families
check
logical indicating whether the class of the return value should be checked to be "acopula".

Value

  • an "acopula" family object, typically one of one of our predefined ones.

See Also

Our predefined acopula-families; the class definition "acopula".

Examples

Run this code
getAcop("Gumbel")

stopifnot(identical(getAcop("J"), getAcop("Joe")),
          identical(getAcop("J"), copJoe),
          identical(getAcop(frankCopula()), copFrank))

Run the code above in your browser using DataLab