View source: R/slimmr_user_change_block_callback.R
change_block_callback | R Documentation |
Changes the callback of one Eidos block in a slimmr SLiM model. A more convenient alternative to slimmr::replace_eidos_pattern for callback modification, but that function can be used to the same ends if you prefer.
change_block_callback(slim_model, block_index, new_callback)
slim_model |
An EidosModel object. |
block_index |
Which block to change callback for? |
new_callback |
E.g. "1000 late()" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.