load_evals {simulator} | R Documentation |
Load one or more Evals objects from file.
Description
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.
Usage
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)
Arguments
dir |
the directory passed to |
model_name |
the |
index |
a vector of positive integers. |
method_names |
the |
metric_names |
(optional) a character vector of which elements of evals should be loaded. If NULL, then all elements are loaded. |
out_loc |
only needed if it was used in call to |
simulator.files |
if NULL, then |
ref |
an object of class |
See Also
load_model
load_draws
as.data.frame.Evals
[Package simulator version 0.2.5 Index]