jitter_params: Creates a jittered g3_tmb parameter template

View source: R/g3_jitter.R

jitter_paramsR Documentation

Creates a jittered g3_tmb parameter template

Description

Creates a jittered g3_tmb parameter template

Usage

jitter_params(
  params,
  jitter_fraction = 0.1,
  pattern_to_ignore = NULL,
  within_bounds = TRUE
)

Arguments

params

A g3 tmb parameter template

jitter_fraction

The fraction of jittering for a value

pattern_to_ignore

Regular expression of parameters to avoid jittering

within_bounds

Logical, if TRUE, jittered values that fall outside parameter bounds (params$lower, params$upper) will be adjusted to fall within the bounds

Value

Jittered set of parameters


gadget-framework/gadgetutils documentation built on Aug. 16, 2024, 8:45 a.m.