regular expressions are used to search for meta data inside a model file. This meta data is then updated with the provided new values

adpt_meta(mdl, newvals)

Arguments

mdl

character with the name of the model to adapt

newvals

list with characteristics/meta data to adapt

Value

character vector with model including the adapted meta data

Author

Richard Hooijmaijers

Examples


if (FALSE) {
  adpt_meta("model.r",newvals=list(imp=4,ref="run 1"))
}