addPriorGroups {causact} | R Documentation |
Add a column to a tidy dataframe of draws that groups parameters by their prior distribution. All parameters with the same prior distribution receive the same index.
addPriorGroups(drawsDF)
drawsDF |
the dataframe created by |
a tidy dataframe of posterior draws. Useful for passing to dagp_plot()
or for creating plots using ggplot()
.