Compile an ernest_sampler
object.
compile.ernest_sampler.Rd
Prepare the ernest_sampler
for generating nested samples by validating
the set of live points within the object, creating live points if none
exist yet.
Usage
# S3 method for class 'ernest_sampler'
compile(object, refresh = FALSE, ...)
Details
Usually, a user will not need to call this method directly, as it is
called automatically by generate()
. compile()
is kept as a distinct step
from generate()
so users can understand and troubleshoot errors with
their log-likelihood and prior transformation functions before a run begins.
It also catches errors that were generated during a run: These are more indicative
of a problem with ernest itself, and such errors are labelled appropriately.