Learn R Programming

nCopula (version 0.1.1)

GAMMA: Construction of a GAMMA Child Class Object

Description

The function GAMMA constructs a gamma Child class object for a given parameter and arguments.

Usage

GAMMA(par, unif, structure = NULL)

Arguments

par

parameter of the distribution.

unif

uniform structure, a numeric vector of grouped numbers, i.e. c(1,2,3) is translated as being c(u1, u2, u3).

structure

nesting structure of the form

X(par1, c(i,...), list(Y(par2, c(j,...), NULL), Z(par3, c(k,...), NULL))),

where X, Y, and Z are compatible functions (see 'details'). It is to note that if structure is NULL, the function will automatically be of class Child. For continuous distributions (i.e. GAMMA), structure is always NULL.

See Also

Other mother or child class objects.: GEO, LOG

Examples

Run this code
# NOT RUN {
GEO(0.5, NULL, list(GAMMA(1/30, c(5,6), NULL),
                    GEO(0.1, NULL, list(GAMMA(1/30, c(1,2), NULL),
                                        GAMMA(1/30, c(3,4), NULL)))))
# }

Run the code above in your browser using DataLab