powered by
Constructs either a LOG Mother or Child class object for a given parameter, arguments, and nesting structure.
LOG(par, unif, structure)
parameter of the distribution.
uniform structure, a numeric vector of grouped numbers, i.e. c(1,2,3) is translated as being c(u1, u2, u3).
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.
Other mother or child class objects.: GAMMA, GEO
GAMMA
GEO
# 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