replace_all: Replace all instances of a string with another in a model

View source: R/bi_model.R

replace_allR Documentation

Replace all instances of a string with another in a model

Description

Takes every occurrence of one string and replaces it with another

Usage

## S3 method for class 'bi_model'
replace_all(x, from, to, ...)

Arguments

x

a bi_model object

from

string to be replaced (a regular expression)

to

new string (which can refer to the regular expression given as from)

...

ignored

Value

the updated bi_model object

See Also

bi_model


libbi/RBi documentation built on June 3, 2024, 12:22 p.m.