Description Usage Arguments Details See Also
The data from a simulation is typically stored in a simulation_analysis_object object, which is typically constructed by the tidy.simulation_data function. There are two methods for storing the data from an experiment: store.csv for storing the data in a .csv folder and store.wd for storing the simulation_analysis_object in the global environment.
1 2 3 | store.csv( data, model_object, iterate, csv_name )
store.global(data, model_object, iterate, object_name)
|
data |
A |
model_object |
A |
iterate |
A numeric corresponding to which iteration of the condition list generated the data. Defaults to |
object_name |
For |
csv_name |
For |
When writing to a .csv file with store.csv, the .csv file will contain:
1) An n x 2 matrix of strings with the first column listing the control objects required in the simulation and the second column containing strings that specify th parameters for the corresponding control object.
2) An n x 2 matrix of the data in time-event format.
By default, the name of the file will be "(model_object_name)_iterate_X.csv", where X is the iterate.
When storing the data in the global environment with store.global, the simulation_analysis_object is stored directly in the global environment with the name specified by object_name or the default "(model_object_name)_iterate_X" if object_name is unspecified.
In general, when conducting a large scale simulation, it is not advised to use store.global because you will probably not have enough RAM to store everything that you want.
class.analysis_object for simulation_analysis_object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.