Skip to contents

Draws the time per iteration for preprocessing (including linearisation), inla() calls, and line search. Iteration 0 is the time used for defining the model structure.

Usage

bru_timings_plot(x)

Arguments

x

a bru object, typically a result from bru() for a nonlinear predictor model

Details

Requires the "ggplot2" package to be installed.

Examples

if (FALSE) { # \dontrun{
fit <- bru(...)
bru_timings_plot(fit)
} # }