control.vb {INLA} | R Documentation

## control.fixed

### 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.vb(
      enable = "auto",
      strategy = c("mean", "variance"),
      verbose = TRUE,
      iter.max = 25,
      emergency = 25,
      f.enable.limit = c(30, 25, 1024, 768),
      hessian.update = 2,
      hessian.strategy = c("default", "full", "partial", "diagonal")
    )

    inla.set.control.vb.default(...)

### Arguments

`enable` | Logical/Character Use this feature? If `"auto"` this will be selected automatically.
`strategy` | Character What to correct, either "mean" or "variance".
`verbose` | Logical Be verbose or not.
`iter.max` | Integer Maximum number of iterations.
`emergency` | Numeric If the standardized correction for the mean is larger than this value, then call the vb.correction off and issue a warning
`f.enable.limit` | Vector of length 4. The size limit to correct for a `f()`. First element is for `strategy="mean"`. Second element is for `strategy="variance"`. Third element is overall maximum dimension of the correction for `strategy="mean"`. Forth element is overall maximum dimension of the correction for `strategy="variance"`.
`hessian.update` | How many times the Hessian is updated for each correction.
`hessian.strategy` | Select strategy for computing the Hessian matrix for `strategy="variance"`, one of `"full"`, `"diagonal"`, `"partial"` and `"default"`.
`...` | Named arguments passed on to the main function

### Details

control.vb List of arguments for various VB corrections. Used for control.inla `control.vb` specifications.

### 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.mode()`, `control.numa()`, `control.pardiso()`, `control.pom()`, `control.predictor()`, `control.scopy()`, `control.sem()`, `control.stiles()`, `control.taucs()`, `control.update()`

[Package INLA version 26.02.05 Index]