Simulation: An S4 class representing a simulation.

Simulation-classR Documentation

An S4 class representing a simulation.

Description

A simulation is a set of references to simulator objects that have been saved to file. The DrawsRef, OutputRef, and EvalsRef objects are organized by model into separate lists.

Details

When a reference ref is added to a simulation sim, ref@dir is changed so that the referenced file is located at file.path(sim@dir, ref@dir).

Slots

name

a short name identifier. Must be an alphanumeric (but can also have - or _ within

label

a longer, human readable label that can have other characters such as spaces, hyphens, etc.

dir

name of the directory where directory named "files" exists.

model_refs

a list of ModelRef objects

draws_refs

a list of lists of DrawsRef objects

output_refs

a list of lists of OutputRef objects

evals_refs

a list of lists of EvalsRef objects


simulator documentation built on Feb. 16, 2023, 9:34 p.m.