replace_eidos_pattern: Replace eidos patterns at model, block, or line level.

View source: R/slimmr_user_replace_eidos_pattern.R

replace_eidos_patternR Documentation

Replace eidos patterns at model, block, or line level.

Description

Replaces an Eidos pattern at model, block, or line level.

Usage

replace_eidos_pattern(
  slim_model,
  pattern,
  replacement,
  in_blocks = NULL,
  in_lines = NULL
)

Arguments

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.


ErikSRoeed/slimmr documentation built on Nov. 9, 2024, 7 a.m.