Learn R Programming

inlabru (version 2.1.9)

bru.options: Additional bru options

Description

Additional bru options

Usage

bru.options(mesh = NULL, run = TRUE, max.iter = 10, offset = 0,
  result = NULL, E = 1, Ntrials = 1,
  control.compute = inlabru:::iinla.getOption("control.compute"),
  control.inla = inlabru:::iinla.getOption("control.inla"),
  control.fixed = inlabru:::iinla.getOption("control.fixed"), ...)

Arguments

mesh

An inla.mesh object for spatial models without SPDE components. Mostly used for successive spatial predictions.

run

If TRUE, run inference. Otherwise only return configuration needed to run inference.

max.iter

maximum number of inla iterations

offset

the usual inla offset. If a nonlinear formula is used, the resulting Taylor approximation constant will be added to this automatically.

result

An inla object returned from previous calls of inla, bru or lgcp. This will be used as a starting point for further improvement of the approximate posterior.

E

inla 'poisson' likelihood exposure parameter

Ntrials

inla 'binomial' likelihood parameter

control.compute

INLA option, See control.compute

control.inla

INLA option, See control.inla

control.fixed

INLA option, See control.fixed

...

Additional options passed on to inla

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
# Generate default bru options
opts = bru.options()

# Print them:
opts

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab