tweak.model: Tweak Model

Description Usage Arguments Value See Also Examples

View source: R/init.R

Description

Tweaks model.

Usage

1
2
## S3 method for class '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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# 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

bergsmat/nonmemica documentation built on Sept. 28, 2018, 4:11 p.m.