control.mode {INLA}R Documentation

control.mode

Description

Control variables in ⁠control.*⁠ for use with inla(). The functions can be used to TAB-complete arguments, and returns a list of the default control arguments, unless overridden by specific input arguments.

Usage

control.mode(
  result = NULL,
  theta = NULL,
  x = NULL,
  restart = FALSE,
  fixed = FALSE
)

inla.set.control.mode.default(...)

Arguments

result

Previous result-object from inla(), a inla-state object or the name of a state-file. Use the theta- and x-mode from this object

theta

The theta-mode/initial values for theta. This option has preference over result$mode$theta.

x

The x-mode/initial values for x. This option has preference over result$mode$x.

restart

A boolean variable; should we restart the optimisation from this configuration or fix the mode at this configuration? (Default FALSE.)

fixed

A boolean variable. If TRUE then treat all thetas as known and fixed, and if FALSE then treat all thetas as unknown and random (default).

...

Named arguments passed on to the main function

Details

For internal use and for algorithms built on to of INLA.

See Also

Other control: control.bgev(), control.compute(), control.expert(), control.family(), control.fixed(), control.gcpo(), control.group(), control.hazard(), control.inla(), control.lincomb(), control.link(), control.lp.scale(), control.mix(), control.pardiso(), control.pom(), control.predictor(), control.scopy(), control.update(), control.vb()


[Package INLA version 24.01.29 Index]