Description Usage Arguments Examples
Generic functions for prior and posterior distributions
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
model |
an object of class |
parameter |
a character string among |
... |
the first argument of the function called |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | model <- Brr(a=2, b=4)
dprior(model, "mu", 1:3)
# the same:
dprior_mu(mu=1:3, a=2, b=4)
## Not run:
dprior(model, "lambda", 1:3)
## End(Not run)
model <- model(c=4, d=5, S=10, T=10)
dprior(model, "lambda", 1:3)
model <- model(x=5, y=10)
ppost(model, "phi", 1)
model <- Brr()
## Not run:
ppost(model, "phi", 1)
## End(Not run)
model <- model(x=5, y=10, S=3, T=10)
ppost(model, "phi", 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.