Skip to contents

A model name is incremented either by incementing numerical or alpha numerical. Furthermore it is possible to check the existence of the incremented model and take this into account.

Usage

incr_mdl(mod, checkloc = NULL)

Arguments

mod

character with the model name

checkloc

character with the location to check for existence of a file

Value

character with the incremented name

Author

Richard Hooijmaijers

Examples


 incr_mdl("run01.r")
#> [1] "run02.r"