powered by
The function GAMMA constructs a gamma Child class object for a given parameter and arguments.
GAMMA(par, unif, structure = NULL)
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 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.: GEO, LOG
GEO
LOG
# 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