Description Usage Arguments Value
Use this function in a slim_block
call and it will be
converted in the SLiM script into code to make formatted output.
This output can easily be read into R and even dynamically read
during simulation runs with slim_run
from the
slimr
package. This function should generally only be
used within a slim_block
call
1 | slimr_output(slimr_expr, name, do_every = 1)
|
slimr_expr |
A SLiM expression to generate output. This can either be
a SLiM expression designed to create output, such as |
name |
The name to use to identify this output. |
do_every |
How often should the output be produced? Expressed
as an integer saying how many generations to run before producing output.
e.g. |
An expression with the code to be run in SLiM.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.