Tweaks a model by jittering initial estimates. Creates a new model directory in project context and places the model there. Copies helper files as well. Expects that x is a number. Assumes nested directory structure (run-specific directories).
# S3 method for default
tweak(x, project = getOption("project", getwd()),
ext = getOption("modex", "ctl"), start = NULL, n = 10,
include = ".def$", ...)
object
project directory
file extension for control streams
a number to use as the first modelname
the number of variants to generate (named start:n)
regular expressions for files to copy to new directory
pass ext to over-ride default model file extension
character: vector of names for models created
Other tweak: tweak.inits
,
tweak.init
, tweak.model
,
tweak