getAcop | R Documentation |
Get one of our "acopula" family objects (see acopula-families by name.
Named strings for “translation” between different names and forms of Archimedean copulas.
getAcop (family, check = TRUE)
getAname(family, objName = FALSE)
.ac.shortNames
.ac.longNames
.ac.objNames
.ac.classNames
family |
either a |
check |
logical indicating whether the class of the return value
should be checked to be |
objName |
logical indicating that the name of the R
object should be returned, instead of the family name, e.g.,
|
getAcop()
returns an "acopula"
family
object, typically one of one of our predefined ones.
getAname()
returns a character
string, the name
of an "acopula"
family object.
.as.longnames
etc are named string constants, useful in
programming for all our (five) standard Archimedean families.
Our predefined acopula-families
;
the class definition "acopula"
.
getAcop("Gumbel")
## different ways of getting the same "acopula" family object:
stopifnot(## Joe (three ways):
identical(getAcop("J"), getAcop("Joe")),
identical(getAcop("J"), copJoe),
## Frank (yet another two different ways):
identical(getAcop(frankCopula()), copFrank),
identical(getAcop("frankCopula"), copFrank))
stopifnot(
identical(getAname(claytonCopula()), getAname("C")),
identical(getAname(copClayton), "Clayton"), identical(getAname("J"), "Joe"),
identical(getAname(amhCopula(), TRUE), "copAMH"),
identical(getAname(joeCopula(), TRUE), "copJoe")
)
.ac.shortNames
.ac.longNames
.ac.objNames
.ac.classNames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.