After evaluate
has been called, this function can
be used to load one or more of the saved Evals
object(s).
If multiple indices are provided, these will be combined by index into a
new single Evals
object. If multiple methods are provided,
a list of Evals
objects will be returned.
load_evals(
dir,
model_name,
index,
method_names,
metric_names = NULL,
out_loc = "out",
simulator.files = NULL
)load_evals_from_ref(ref, metric_names = NULL)
the directory passed to generate_model
)
the Model
object's name
a vector of positive integers.
the name
of one or more Method
objects.
(optional) a character vector of which elements of evals should be loaded. If NULL, then all elements are loaded.
only needed if it was used in call to
if NULL, then getOption("simulator.files")
will be used.
run_method
.
an object of class EvalsRef
load_model
load_draws
as.data.frame.Evals