do.copula: Function to implement copula

Description Usage Arguments Note Author(s) References

Description

Function to implement copula

Usage

1
do.copula(correlation, np, fxs, fxs.means, fxs.vars)

Arguments

correlation

Desired correlation level (will not be exact)

np

Number of samples to generate

fxs

Vector of functions for the copula

fxs.means

Vector of means for the copula, in same order as functions

fxs.vars

= Vector of variances/sd for the copula, in same order as above

Note

Currently only works for log-normal and beta distributions.

Author(s)

Jakob Gerstenlauer & Sasha Keyel

References

Sklar 1959


akeyel/spatialdemography documentation built on May 12, 2019, 4:43 a.m.