Learn R Programming

nCopula (version 0.1.1)

pCompCop: Distribution function of Mother class objects

Description

Distribution function of a Mother class object.

Usage

pCompCop(structure, vector = FALSE, express = TRUE)

Arguments

structure

object of class Mother.

vector

logical. If false, returns a function or a character string with (u_1, u_2, ...) as arguments, else, just (u).

express

logical. If false, returns a function, else, a character string.

Value

The distribution function in the form of either a function or a character string.

Examples

Run this code
# NOT RUN {
## Create the structure
structure <- LOG(0.5, NULL, list(GAMMA(1/30, c(5,6), NULL),
                              LOG(0.1, NULL, list(GAMMA(1/30, c(1,2), NULL),
                              GAMMA(1/30, c(3,4), NULL)))))

## Character string
pCompCop(structure, vector = TRUE, express = TRUE)
pCompCop(structure, vector = FALSE, express = TRUE)

## Function
pCompCop(structure, vector = TRUE, express = FALSE)
pCompCop(structure, vector = FALSE, express = FALSE)

# }

Run the code above in your browser using DataLab