Learn R Programming

nonmemica (version 0.9.1)

tweak.model: Tweak Model

Description

Tweaks model.

Usage

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

Arguments

x

object

sd

numeric

digits

integer

...

dots

Value

model

See Also

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

Examples

Run this code
# NOT RUN {
# 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