eval_pc_prior {makemyprior} | R Documentation |
Evaluate PC prior for a variance proportion.
eval_pc_prior(x, obj, param, logitscale = FALSE)
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 |
Returns density for the given variance proportion.
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]")