| Render | R Documentation |
Class to render output for the simulation.
new()Initialise a renderer for the simulation, creates the default state renderers.
Render$new(timesteps)
timestepsnumber of timesteps in the simulation.
set_default()Set a default value for a rendered output renderers.
Render$set_default(name, value)
namethe variable to set a default for.
valuethe default value to set for a variable.
render()Update the render with new simulation data.
Render$render(name, value, timestep)
namethe variable to render.
valuethe value to store for the variable.
timestepthe time-step of the data point.
to_dataframe()Return the render as a data.frame.
Render$to_dataframe()
clone()The objects of this class are cloneable with this method.
Render$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.