Learn R Programming

nCopula (version 0.1.1)

LOG: Construction of a LOG Mother or Child Class Object

Description

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

Usage

LOG(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 good 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, GEO

Examples

Run this code
# NOT RUN {
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)))))
# }

Run the code above in your browser using DataLab