View source: R/get_parameters.R
ExtractParameters | R Documentation |
Get Simulation Parameters
ExtractParameters(sim_object, steps = NULL)
sim_object |
simulation object created with |
steps |
which parameters to extract from the |
This function will return any paramters that are stored in the simulation object. If no simulation steps have been run, then this will return the default parameters. The defaults are over written if new parameters are provided at each step.
a list of S3 clas SimParams
containing parameters stored in the sim_object
#create simulation object
sim_obj = CreateSimulationObject()
#extract default paramters for the Tissue simulation step
defs = ExtractParameters(sim_obj, "Tissue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.