View source: R/slimmr_user_replace_eidos_pattern.R
replace_eidos_pattern | R Documentation |
Replaces an Eidos pattern at model, block, or line level.
replace_eidos_pattern(
slim_model,
pattern,
replacement,
in_blocks = NULL,
in_lines = NULL
)
slim_model |
An EidosModel object. |
pattern |
Eidos script pattern to replace. |
replacement |
Eidos script replacement for the pattern. |
in_blocks |
Which blocks to replace in? Incompatible with in_lines. If in_blocks and in_lines are both NULL, will replace across entire model. |
in_lines |
Which lines to replace in? Incompatible with in_blocks. If in_blocks and in_lines are both NULL, will replace across entire model. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.