Learn R Programming

inlabru (version 2.1.1)

init.tutorial: Global setting for tutorial sessions

Description

Increases verbosity and sets the inference strategy to empirical Bayes.

Usage

init.tutorial()

Arguments

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
# Determine current bru default:
bo = bru.options()

# By default, INLA's integration strategy is set to the INLA default 'auto':
bo$inla.options$control.inla

# Now, let's run init.tutorial() to make empirical Bayes the default 
integration method when \code{bru} calls \code{inla}

init.tutorial()

# Check if it worked:
bru.options()$inla.options$control.inla

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab