Learn R Programming

copula (version 1.1-4)

indepCopula: Construction of Independence Copula Objects

Description

Constructs an independence copula with its corresponding dimension.

Usage

indepCopula(dim = 2)

Value

An independence copula object of class "indepCopula".

Arguments

dim

the dimension of the copula.

See Also

Mathematically, the independence copula is also a special (boundary) case of e.g., classes "archmCopula", "ellipCopula", and "evCopula".

Examples

Run this code
indep.cop <- indepCopula(3)
x <- rCopula(10, indep.cop)
dCopula(x, indep.cop)
persp(indepCopula(), pCopula)

Run the code above in your browser using DataLab