Learn R Programming

nCopula (version 0.1.1)

GEO: Construction of a GEO Mother or Child Class Object

Description

Constructs either a GEO Mother or Child class object for a given parameter, arguments, and nesting structure.

Usage

GEO(par, unif, structure)

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.: GAMMA, 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