Plot prior density and data
priorfig(
priordata = NA,
priordensity = NA,
trait = NA,
xlim = "auto",
fontsize = 18
)
Arguments
- priordata
observations to be plotted as points
- priordensity
density of prior distribution, calculated by prior.density
- trait
dataframe with id, figid and units of the trait
- xlim
limits for x axis
- fontsize
passed to ggplot to set text size
Value
plot / grob of prior distribution with data used to inform the distribution