em_itnb_control: Control function for the em_itnb function.

View source: R/em-itnb.R

em_itnb_controlR Documentation

Control function for the em_itnb function.

Description

Creates a list of default options.

Usage

em_itnb_control(
  trace = 0L,
  tolerance = 1e-06,
  iteration_min = 5L,
  iteration_max = 10000L,
  save_trace = FALSE
)

Arguments

trace

Numeric (>= 0): showing a trace every trace number of iterations.

tolerance

Numeric: Convergence tolerance.

iteration_min

Numeric (>= 0): The minimum number of allowed iterations.

iteration_max

Numeric (>= iteration_min): The maximum number of allowed iterations.

save_trace

TRUE/FALSE: should the entire trace be stored?

Value

A list of default arguments for the em_itnb function.


svilsen/itnb documentation built on Sept. 7, 2024, 1:30 a.m.