copula_sampler: Generate a sample from a copula

Description Usage Arguments Value

Description

Generates a sample from the specified copula object

Usage

1
copula_sampler(copula, N, gss = 1.37)

Arguments

copula

An R object of class "Copula"

N

An integer indicating the number of collocation points to use for each dimension

Value

A function which takes one parameter ('n') and returns a matrix with dimensions (n, dim(copula)) containing the sample from the copula, each row being one observation.


Blaza/scmc documentation built on May 29, 2019, 6:41 a.m.