Skip to contents

Use ggplot to create a plot of the evidence, importance weights, and normalized likelihood values over the estimated volumes from a nested sampling run.

Usage

# S3 method for class 'ernest_sampler'
plot(x, exponentiate = TRUE, true_log_z = NULL, ...)

Arguments

x

An ernest_sampler object.

exponentiate

Whether to transform log values before plotting. Note that volume estimates are always plotted in negative log units.

true_log_z

The analytic evidence value on a log scale.

...

Must be left empty.

Value

A plot of the run's progress, which is made up of three stacked plots:

  • Normalized likelihood values over log volumes.

  • importance weights over log volumes.

  • Model evidence over log volumes, with an error envelope showing the 1 and 2 standard deviations of the estimate.