Returns information on templated variables and their default values in a slimr_script
slim_template_info(script_temp)
A templated slimr_script
to retrieve information from
A list of lists. The top-level is named for the blocks in which templated variables exist. For each block with templated variables the element is a list named with all templated variables in that block, and its values are equal to the default values for those variables.
test_sim <- slim_script(
slim_block_init_minimal(mutation_rate = r_template("mu", 1e-7)),
slim_block_add_subpops(1, 100),
slim_block(1, 20, late(), {
r_output(sim.outputFull(), "out", do_every = 10)
})
)