replace_all {rbi}R 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


[Package rbi version 1.0.0 Index]