Convert p/d Representations to a Copula
cop_parametric.Rd
When a copula has p
and d
functions available (such as
pfrk()
, dfrk()
), cop_parametric()
creates a copula
that draws on these functions.
Usage
cop_parametric(
.name,
...,
.variable = c("unknown", "continuous", "discrete", "mixed"),
.env = parent.frame()
)
Arguments
- .name
Name of the copula. Specifically, a string with the suffix of the
p
andd
functions (such as"frk"
).- ...
Parameters, each its own argument, input as name-value pairs.
- .variable
Type of random variable represented by the copula; one of
"continuous"
,"discrete"
,"mixed"
, or"unknown"
. Warning: defaults to"unknown"
, where density and pmf cannot be evaluated.- .env
Environment beginning the search path when looking for the representation, or the name of an environment (or any object that can be coerced to an environment with
as.environment()
.) Defaults to the calling environment.