tweak.default {nonmemica} | R Documentation |
Tweak a Model by Default
Description
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).
Usage
## Default S3 method:
tweak(
x,
project = getOption("project", getwd()),
ext = getOption("modex", "ctl"),
start = NULL,
n = 10,
include = ".def$",
...
)
Arguments
x |
object |
project |
project directory (can be expression) |
ext |
file extension for control streams |
start |
a number to use as the first modelname |
n |
the number of variants to generate (named start:n) |
include |
regular expressions for files to copy to new directory |
... |
pass ext to over-ride default model file extension |
Value
character: vector of names for models created
See Also
Other tweak:
tweak.inits()
,
tweak.init()
,
tweak.model()
,
tweak()
[Package nonmemica version 1.0.8 Index]