Description Usage Arguments Value Examples
Distribution function of a Mother class object.
1 |
structure |
object of class Mother. |
vector |
logical. If false, returns a function or a character string with (u_1, u_2, ...) as arguments, else, just (u). |
express |
logical. If false, returns a function, else, a character string. |
The distribution function in the form of either a function or a character string.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Create the structure
structure <- 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)))))
## Character string
pCompCop(structure, vector = TRUE, express = TRUE)
pCompCop(structure, vector = FALSE, express = TRUE)
## Function
pCompCop(structure, vector = TRUE, express = FALSE)
pCompCop(structure, vector = FALSE, express = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.