powered by
Visualize the implied prior distribution for the partial correlations. This is particularly useful for the Bayesian hypothesis testing methods.
plot_prior(prior_sd = 0.2, iter = 5000)
Scale of the prior distribution, approximately the standard deviation of a beta distribution (defaults to 0.25).
Number of iterations (prior samples; defaults to 5000).
A ggplot object.
ggplot
# NOT RUN { # note: iter = 250 for demonstrative purposes plot_prior(prior_sd = 0.25, iter = 250) # }
Run the code above in your browser using DataLab