Create a plot of the posterior distributions from a nested sampling run, or trace the evolution of discarded live points along the log prior volume.
Arguments
- x
An ernest_run object.
- ...
Arguments passed on to
as_draws.ernest_run
units
Case-sensitive string. The scale for the sampled points:
"original"
: Points are on the scale of the prior space."unit_cube"
: Points are on the (0, 1) unit hypercube scale.
radial
Logical. If
TRUE
, returns an additional column.radial
containing the radial coordinate (i.e., the Euclidean norm) for each sampled point.
- type
Case-sensitive string. The type of plot to create:
"density"
: Shows the posterior density of each parameter."trace"
: Shows the distribution of points along estimates of the log prior volume.
- vars
<
tidy-select
> Variables to plot from the run. IfNULL
, all variables are plotted.- plot
Logical. If
TRUE
, returns aggplot
of the visualisation; ifFALSE
, returns atibble
of the data used to create the plot.
See also
plot()
for visualising evidence estimates from an
ernest_run
.