eval_pc_prior {makemyprior} | R Documentation |
Evaluate PC prior for variance proportion
Description
Evaluate PC prior for a variance proportion.
Usage
eval_pc_prior(x, obj, param, logitscale = FALSE)
Arguments
x |
Values to evaluate prior in. |
obj |
Prior object from make_prior |
param |
Which weight to plot, indicated using syntax shown when printing (do not need to include the
|
logitscale |
Is the input |
Value
Returns density for the given variance proportion.
Examples
ex_prior <- makemyprior_example_model()
eval_pc_prior(seq(0, 1, 0.01), ex_prior, "eps/eps_a_b")
# or:
eval_pc_prior(seq(0, 1, 0.01), ex_prior, "w[eps/eps_a_b]")
[Package makemyprior version 1.2.1 Index]