Learn R Programming

nonmemica (version 1.0.8)

tweak.model: Tweak Model

Description

Tweaks model.

Usage

# S3 method for model
tweak(x, sd = 0.13, digits = 3, ...)

Value

model

Arguments

x

model

sd

numeric

digits

integer

...

passed arguments

See Also

Other tweak: tweak.default(), tweak.inits(), tweak.init(), tweak()

Examples

Run this code
# Create a working project.
source <- system.file(package = 'nonmemica','project')
target <- tempdir()
target <- gsub('\\\\','/',target) # for windows
source
target
file.copy(source,target,recursive = TRUE)
project <- file.path(target,'project','model')

# Point project option at working project
options(project = project)
library(magrittr)

# Make ten new models with slightly different initial estimates.
1001 %>% tweak

Run the code above in your browser using DataLab