Learn R Programming

nCopula (version 0.1.1)

rCompCop: Random number generator for Mother class objects

Description

Samples from a Mother class object.

Usage

rCompCop(n, structure)

Arguments

n

the number of realisations.

structure

an object of class Mother.

Value

A numeric matrix of sampled data from the structure

Examples

Run this code
# NOT RUN {
## Create the structure
structure <- GEO(0.1, 1, list(GAMMA(0.2, 2:3, NULL),
                        GEO(0.3, 4:5, NULL)))

## Sample from the structure
rCompCop(1000, structure)

# }

Run the code above in your browser using DataLab