Access method for bru_log
objects.
Note: Up to version 2.8.0
, bru_log()
was a deprecated alias for
bru_log_message()
. When running on 2.8.0
or earlier, use bru_log_get()
to access the global log, and cat(fit$bru_iinla$log, sep = "\n")
to print a
stored estimation object log.
After version 2.8.0
, use bru_log()
to access the global log, and
bru_log(fit)
to access a stored estimation log.
Usage
bru_log(x = NULL, verbosity = NULL)
# S3 method for class 'character'
bru_log(x, verbosity = NULL)
# S3 method for class 'bru_log'
bru_log(x, verbosity = NULL)
# S3 method for class 'iinla'
bru_log(x, verbosity = NULL)
# S3 method for class 'bru'
bru_log(x, verbosity = NULL)
# S3 method for class 'bru_log'
print(x, ..., timestamp = TRUE, verbosity = FALSE)
# S3 method for class 'bru_log'
as.character(x, ...)
# S3 method for class 'bru_log'
x[i]
# S3 method for class 'bru_log'
c(...)
# S3 method for class 'bru_log'
length(x)
Arguments
- x
An object that is, contains, or can be converted to, a
bru_log
object. IfNULL
, refers to the globalinlabru
log.- verbosity
integer value for limiting the highest verbosity level being returned.
- ...
further arguments passed to or from other methods.
- timestamp
If
TRUE
, include the timestamp of each message. DefaultTRUE
.- i
indices specifying elements to extract. If
character
, denotes the sequence between bookmarki
and the next bookmark (or the end of the log ifi
is the last bookmark)
Value
bru_log
A bru_log
object, containing a
character vector of log messages, and potentially a vector of bookmarks.
Methods (by generic)
print(bru_log)
: Print abru_log
object withcat(x, sep = "\n")
. Ifverbosity
isTRUE
, include the verbosity level of each message.as.character(bru_log)
: Convertbru_log
object to a plaincharacter
vector[
: Extract a subset of abru_log
objectc(bru_log)
: Concatenate severalbru_log
orcharacter
objects into abru_log
object.length(bru_log)
: Obtain the number of log entries into abru_log
object.
Functions
bru_log()
: Extract stored log messages. If non-NULL
, theverbosity
argument determines the maximum verbosity level of the messages to extract.
See also
Other inlabru log methods:
bru_log_bookmark()
,
bru_log_message()
,
bru_log_new()
,
bru_log_offset()
,
bru_log_reset()
Examples
bru_log(verbosity = 2L)
#> 2024-10-20 13:10:41.190302: inlabru loaded
#> 2024-10-20 13:10:41.190772: Clear override options
#> 2024-10-20 13:10:46.052964: iinla: Iteration 1 [max:1]
#> 2024-10-20 13:10:46.758201: iinla: Iteration 1 [max:10]
#> 2024-10-20 13:10:47.174616: iinla: Iteration 2 [max:10]
#> 2024-10-20 13:10:47.841733: iinla: Max deviation from previous: 0.0645% of SD, and line search is inactive
#> [stop if: <10% and line search inactive]
#> 2024-10-20 13:10:47.842147: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2024-10-20 13:10:47.843035: iinla: Iteration 3 [max:10]
#> 2024-10-20 13:10:48.357119: iinla: Iteration 1 [max:10]
#> 2024-10-20 13:10:48.720395: iinla: Step rescaling: 27.2% (norm0 = 208.4, norm1 = 256.3, norm01 = 395.2)
#> 2024-10-20 13:10:48.751511: iinla: Iteration 2 [max:10]
#> 2024-10-20 13:10:49.119015: iinla: Step rescaling: 99.6% (norm0 = 255.3, norm1 = 12.89, norm01 = 256.3)
#> 2024-10-20 13:10:49.149843: iinla: Max deviation from previous: 52900% of SD, and line search is active
#> [stop if: <10% and line search inactive]
#> 2024-10-20 13:10:49.150809: iinla: Iteration 3 [max:10]
#> 2024-10-20 13:10:49.524372: iinla: Step rescaling: 102% (norm0 = 12.89, norm1 = 0.01798, norm01 = 12.89)
#> 2024-10-20 13:10:49.554699: iinla: Max deviation from previous: 598% of SD, and line search is active
#> [stop if: <10% and line search inactive]
#> 2024-10-20 13:10:49.555621: iinla: Iteration 4 [max:10]
#> 2024-10-20 13:10:49.956219: iinla: Max deviation from previous: 10.1% of SD, and line search is inactive
#> [stop if: <10% and line search inactive]
#> 2024-10-20 13:10:49.957208: iinla: Iteration 5 [max:10]
#> 2024-10-20 13:10:50.357173: iinla: Max deviation from previous: 0.0583% of SD, and line search is inactive
#> [stop if: <10% and line search inactive]
#> 2024-10-20 13:10:50.357613: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2024-10-20 13:10:50.358512: iinla: Iteration 6 [max:10]
#> 2024-10-20 13:10:53.276136: iinla: Iteration 1 [max:1]
#> 2024-10-20 13:10:53.841672: iinla: Iteration 1 [max:1]
#> 2024-10-20 13:10:54.497066: iinla: Iteration 1 [max:10]
#> 2024-10-20 13:10:54.971225: iinla: Iteration 2 [max:10]
#> 2024-10-20 13:10:55.444695: iinla: Max deviation from previous: 0.146% of SD, and line search is inactive
#> [stop if: <10% and line search inactive]
#> 2024-10-20 13:10:55.445146: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode.
#> 2024-10-20 13:10:55.446134: iinla: Iteration 3 [max:10]
print(bru_log(), timestamp = TRUE, verbosity = TRUE)
#> 2024-10-20 13:10:41.190302: inlabru loaded (level 1)
#> 2024-10-20 13:10:41.190772: Clear override options (level 1)
#> 2024-10-20 13:10:45.941313: iinla: Evaluate component inputs (level 3)
#> 2024-10-20 13:10:45.9649: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:45.965557: Linearise component 'x' (level 4)
#> 2024-10-20 13:10:45.988274: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:45.995811: iinla: Evaluate component simplifications (level 3)
#> 2024-10-20 13:10:45.996407: Simplify component 'x' (level 4)
#> 2024-10-20 13:10:46.004318: Simplify component 'Intercept' (level 4)
#> 2024-10-20 13:10:46.011664: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:46.023385: iinla: Construct inla stack (level 3)
#> 2024-10-20 13:10:46.052498: iinla: Model initialisation completed (level 3)
#> 2024-10-20 13:10:46.052964: iinla: Iteration 1 [max:1] (level 1)
#> 2024-10-20 13:10:46.68155: iinla: Evaluate component inputs (level 3)
#> 2024-10-20 13:10:46.704847: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:46.705329: Linearise component 'x' (level 4)
#> 2024-10-20 13:10:46.714188: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:46.721532: iinla: Evaluate component simplifications (level 3)
#> 2024-10-20 13:10:46.722015: Simplify component 'x' (level 4)
#> 2024-10-20 13:10:46.72985: Simplify component 'Intercept' (level 4)
#> 2024-10-20 13:10:46.737234: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:46.738755: Linearise with respect to component 'x' (level 4)
#> 2024-10-20 13:10:46.743985: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:46.74631: iinla: Construct inla stack (level 3)
#> 2024-10-20 13:10:46.757757: iinla: Model initialisation completed (level 3)
#> 2024-10-20 13:10:46.758201: iinla: Iteration 1 [max:10] (level 1)
#> 2024-10-20 13:10:47.141276: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 343.2, norm1 = 0, norm01 = 343.2) (level 3)
#> 2024-10-20 13:10:47.141807: iinla: Optimisation did not improve on previous solution. (level 3)
#> 2024-10-20 13:10:47.142258: iinla: |lin1-lin0| = 343.2
#> <eta-lin1,delta>/|delta| = 0
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 9.486e-15 (level 4)
#> 2024-10-20 13:10:47.143199: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:47.143663: Linearise component 'x' (level 4)
#> 2024-10-20 13:10:47.151894: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:47.159623: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:47.160712: Linearise with respect to component 'x' (level 4)
#> 2024-10-20 13:10:47.162926: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:47.174616: iinla: Iteration 2 [max:10] (level 1)
#> 2024-10-20 13:10:47.807261: iinla: Step rescaling: 162%, Expand (norm0 = 2.143e-07, norm1 = 8.185e-08, norm01 = 1.324e-07) (level 3)
#> 2024-10-20 13:10:47.808425: iinla: Step rescaling: 100%, Overstep (norm0 = 1.324e-07, norm1 = 2.99e-14, norm01 = 1.324e-07) (level 3)
#> 2024-10-20 13:10:47.810151: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 1.324e-07, norm1 = 3.905e-14, norm01 = 1.324e-07) (level 3)
#> 2024-10-20 13:10:47.810586: iinla: Optimisation did not improve on previous solution. (level 3)
#> 2024-10-20 13:10:47.811002: iinla: |lin1-lin0| = 1.324e-07
#> <eta-lin1,delta>/|delta| = -1.92e-14
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 2.292e-14 (level 4)
#> 2024-10-20 13:10:47.811868: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:47.812297: Linearise component 'x' (level 4)
#> 2024-10-20 13:10:47.820395: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:47.827702: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:47.828733: Linearise with respect to component 'x' (level 4)
#> 2024-10-20 13:10:47.830788: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:47.841733: iinla: Max deviation from previous: 0.0645% of SD, and line search is inactive
#> [stop if: <10% and line search inactive] (level 1)
#> 2024-10-20 13:10:47.842147: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2024-10-20 13:10:47.843035: iinla: Iteration 3 [max:10] (level 1)
#> 2024-10-20 13:10:48.282089: iinla: Evaluate component inputs (level 3)
#> 2024-10-20 13:10:48.30534: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:48.305869: Linearise component 'z' (level 4)
#> 2024-10-20 13:10:48.313519: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:48.325369: iinla: Evaluate component simplifications (level 3)
#> 2024-10-20 13:10:48.325908: Simplify component 'z' (level 4)
#> 2024-10-20 13:10:48.333112: Simplify component 'Intercept' (level 4)
#> 2024-10-20 13:10:48.340262: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:48.341482: Linearise with respect to component 'z' (level 4)
#> 2024-10-20 13:10:48.34377: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:48.345809: iinla: Construct inla stack (level 3)
#> 2024-10-20 13:10:48.356694: iinla: Model initialisation completed (level 3)
#> 2024-10-20 13:10:48.357119: iinla: Iteration 1 [max:10] (level 1)
#> 2024-10-20 13:10:48.716854: iinla: Step rescaling: 61.8%, Contract (norm0 = 2293, norm1 = 2107, norm01 = 395.2) (level 3)
#> 2024-10-20 13:10:48.717937: iinla: Step rescaling: 38.2%, Contract (norm0 = 460.2, norm1 = 339.4, norm01 = 395.2) (level 3)
#> 2024-10-20 13:10:48.719545: iinla: Step rescaling: 27.2%, Approx Optimisation (norm0 = 208.4, norm1 = 256.3, norm01 = 395.2) (level 3)
#> 2024-10-20 13:10:48.720006: iinla: |lin1-lin0| = 395.2
#> <eta-lin1,delta>/|delta| = -225.8
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 121.3 (level 4)
#> 2024-10-20 13:10:48.720395: iinla: Step rescaling: 27.2% (norm0 = 208.4, norm1 = 256.3, norm01 = 395.2) (level 2)
#> 2024-10-20 13:10:48.721226: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:48.721697: Linearise component 'z' (level 4)
#> 2024-10-20 13:10:48.729147: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:48.736722: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:48.737774: Linearise with respect to component 'z' (level 4)
#> 2024-10-20 13:10:48.740026: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:48.751511: iinla: Iteration 2 [max:10] (level 1)
#> 2024-10-20 13:10:49.118113: iinla: Step rescaling: 99.6%, Approx Optimisation (norm0 = 255.3, norm1 = 12.89, norm01 = 256.3) (level 3)
#> 2024-10-20 13:10:49.118613: iinla: |lin1-lin0| = 256.3
#> <eta-lin1,delta>/|delta| = -1.292
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 12.82 (level 4)
#> 2024-10-20 13:10:49.119015: iinla: Step rescaling: 99.6% (norm0 = 255.3, norm1 = 12.89, norm01 = 256.3) (level 2)
#> 2024-10-20 13:10:49.119849: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:49.120289: Linearise component 'z' (level 4)
#> 2024-10-20 13:10:49.127774: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:49.135322: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:49.136394: Linearise with respect to component 'z' (level 4)
#> 2024-10-20 13:10:49.138701: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:49.149843: iinla: Max deviation from previous: 52900% of SD, and line search is active
#> [stop if: <10% and line search inactive] (level 1)
#> 2024-10-20 13:10:49.150809: iinla: Iteration 3 [max:10] (level 1)
#> 2024-10-20 13:10:49.520813: iinla: Step rescaling: 162%, Expand (norm0 = 20.28, norm1 = 7.397, norm01 = 12.89) (level 3)
#> 2024-10-20 13:10:49.52189: iinla: Step rescaling: 100%, Overstep (norm0 = 12.67, norm1 = 0.2191, norm01 = 12.89) (level 3)
#> 2024-10-20 13:10:49.523507: iinla: Step rescaling: 101.8%, Approx Optimisation (norm0 = 12.89, norm1 = 0.01798, norm01 = 12.89) (level 3)
#> 2024-10-20 13:10:49.523973: iinla: |lin1-lin0| = 12.89
#> <eta-lin1,delta>/|delta| = -2.964e-05
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 0.01798 (level 4)
#> 2024-10-20 13:10:49.524372: iinla: Step rescaling: 102% (norm0 = 12.89, norm1 = 0.01798, norm01 = 12.89) (level 2)
#> 2024-10-20 13:10:49.525225: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:49.525698: Linearise component 'z' (level 4)
#> 2024-10-20 13:10:49.533305: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:49.540519: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:49.541567: Linearise with respect to component 'z' (level 4)
#> 2024-10-20 13:10:49.54382: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:49.554699: iinla: Max deviation from previous: 598% of SD, and line search is active
#> [stop if: <10% and line search inactive] (level 1)
#> 2024-10-20 13:10:49.555621: iinla: Iteration 4 [max:10] (level 1)
#> 2024-10-20 13:10:49.921084: iinla: Step rescaling: 162%, Expand (norm0 = 0.02909, norm1 = 0.01111, norm01 = 0.01798) (level 3)
#> 2024-10-20 13:10:49.922261: iinla: Step rescaling: 100%, Overstep (norm0 = 0.01798, norm1 = 1.149e-07, norm01 = 0.01798) (level 3)
#> 2024-10-20 13:10:49.923929: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.01798, norm1 = 1.146e-07, norm01 = 0.01798) (level 3)
#> 2024-10-20 13:10:49.9244: iinla: |lin1-lin0| = 0.01798
#> <eta-lin1,delta>/|delta| = 1.965e-10
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 1.146e-07 (level 4)
#> 2024-10-20 13:10:49.925283: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:49.925833: Linearise component 'z' (level 4)
#> 2024-10-20 13:10:49.933463: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:49.941138: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:49.942412: Linearise with respect to component 'z' (level 4)
#> 2024-10-20 13:10:49.944802: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:49.956219: iinla: Max deviation from previous: 10.1% of SD, and line search is inactive
#> [stop if: <10% and line search inactive] (level 1)
#> 2024-10-20 13:10:49.957208: iinla: Iteration 5 [max:10] (level 1)
#> 2024-10-20 13:10:50.323366: iinla: Step rescaling: 162%, Expand (norm0 = 2.305e-07, norm1 = 8.806e-08, norm01 = 1.425e-07) (level 3)
#> 2024-10-20 13:10:50.324431: iinla: Step rescaling: 100%, Overstep (norm0 = 1.425e-07, norm1 = 6.966e-13, norm01 = 1.425e-07) (level 3)
#> 2024-10-20 13:10:50.326084: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 1.425e-07, norm1 = 5.356e-13, norm01 = 1.425e-07) (level 3)
#> 2024-10-20 13:10:50.326551: iinla: |lin1-lin0| = 1.425e-07
#> <eta-lin1,delta>/|delta| = -5.513e-14
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 5.328e-13 (level 4)
#> 2024-10-20 13:10:50.327406: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:50.327845: Linearise component 'z' (level 4)
#> 2024-10-20 13:10:50.33535: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:50.342841: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:50.343863: Linearise with respect to component 'z' (level 4)
#> 2024-10-20 13:10:50.346167: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:50.357173: iinla: Max deviation from previous: 0.0583% of SD, and line search is inactive
#> [stop if: <10% and line search inactive] (level 1)
#> 2024-10-20 13:10:50.357613: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2024-10-20 13:10:50.358512: iinla: Iteration 6 [max:10] (level 1)
#> 2024-10-20 13:10:53.187115: iinla: Evaluate component inputs (level 3)
#> 2024-10-20 13:10:53.212336: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:53.212853: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:53.236084: Linearise component 'x' (level 4)
#> 2024-10-20 13:10:53.245203: iinla: Evaluate component simplifications (level 3)
#> 2024-10-20 13:10:53.245743: Simplify component 'Intercept' (level 4)
#> 2024-10-20 13:10:53.252948: Simplify component 'x' (level 4)
#> 2024-10-20 13:10:53.260973: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:53.264027: iinla: Construct inla stack (level 3)
#> 2024-10-20 13:10:53.275676: iinla: Model initialisation completed (level 3)
#> 2024-10-20 13:10:53.276136: iinla: Iteration 1 [max:1] (level 1)
#> 2024-10-20 13:10:53.73341: iinla: Evaluate component inputs (level 3)
#> 2024-10-20 13:10:53.776673: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:53.777401: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:53.785728: Linearise component 'x' (level 4)
#> 2024-10-20 13:10:53.7935: Linearise component 'z' (level 4)
#> 2024-10-20 13:10:53.801176: iinla: Evaluate component simplifications (level 3)
#> 2024-10-20 13:10:53.80168: Simplify component 'Intercept' (level 4)
#> 2024-10-20 13:10:53.808967: Simplify component 'x' (level 4)
#> 2024-10-20 13:10:53.816814: Simplify component 'z' (level 4)
#> 2024-10-20 13:10:53.82457: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:53.828243: iinla: Construct inla stack (level 3)
#> 2024-10-20 13:10:53.841185: iinla: Model initialisation completed (level 3)
#> 2024-10-20 13:10:53.841672: iinla: Iteration 1 [max:1] (level 1)
#> 2024-10-20 13:10:54.321294: iinla: Evaluate component inputs (level 3)
#> 2024-10-20 13:10:54.383922: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:54.384453: Linearise component 'x' (level 4)
#> 2024-10-20 13:10:54.392749: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:54.400147: Linearise component 'x' (level 4)
#> 2024-10-20 13:10:54.407926: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:54.415181: Linearise component 'z' (level 4)
#> 2024-10-20 13:10:54.422959: iinla: Evaluate component simplifications (level 3)
#> 2024-10-20 13:10:54.423442: Simplify component 'x' (level 4)
#> 2024-10-20 13:10:54.431417: Simplify component 'Intercept' (level 4)
#> 2024-10-20 13:10:54.438936: Simplify component 'x' (level 4)
#> 2024-10-20 13:10:54.446979: Simplify component 'Intercept' (level 4)
#> 2024-10-20 13:10:54.454548: Simplify component 'z' (level 4)
#> 2024-10-20 13:10:54.462475: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:54.46384: Linearise with respect to component 'x' (level 4)
#> 2024-10-20 13:10:54.466388: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:54.469615: Linearise with respect to component 'x' (level 4)
#> 2024-10-20 13:10:54.471988: Linearise with respect to component 'z' (level 4)
#> 2024-10-20 13:10:54.474102: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:54.476479: iinla: Construct inla stack (level 3)
#> 2024-10-20 13:10:54.496571: iinla: Model initialisation completed (level 3)
#> 2024-10-20 13:10:54.497066: iinla: Iteration 1 [max:10] (level 1)
#> 2024-10-20 13:10:54.90019: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 1073, norm1 = 2.715e-14, norm01 = 1073) (level 3)
#> 2024-10-20 13:10:54.900672: iinla: Optimisation did not improve on previous solution. (level 3)
#> 2024-10-20 13:10:54.901136: iinla: |lin1-lin0| = 1073
#> <eta-lin1,delta>/|delta| = -1.555e-15
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 4.609e-14 (level 4)
#> 2024-10-20 13:10:54.902134: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:54.902598: Linearise component 'x' (level 4)
#> 2024-10-20 13:10:54.910994: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:54.918598: Linearise component 'x' (level 4)
#> 2024-10-20 13:10:54.926615: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:54.934072: Linearise component 'z' (level 4)
#> 2024-10-20 13:10:54.942046: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:54.943198: Linearise with respect to component 'x' (level 4)
#> 2024-10-20 13:10:54.945332: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:54.94819: Linearise with respect to component 'x' (level 4)
#> 2024-10-20 13:10:54.950301: Linearise with respect to component 'z' (level 4)
#> 2024-10-20 13:10:54.952165: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:54.971225: iinla: Iteration 2 [max:10] (level 1)
#> 2024-10-20 13:10:55.374251: iinla: Step rescaling: 100%, Approx Optimisation (norm0 = 0.0008459, norm1 = 1.534e-13, norm01 = 0.0008459) (level 3)
#> 2024-10-20 13:10:55.374753: iinla: Optimisation did not improve on previous solution. (level 3)
#> 2024-10-20 13:10:55.375213: iinla: |lin1-lin0| = 0.0008459
#> <eta-lin1,delta>/|delta| = 1.193e-14
#> |eta-lin0 - delta <delta,eta-lin0>/<delta,delta>| = 1.442e-13 (level 4)
#> 2024-10-20 13:10:55.376094: iinla: Evaluate component linearisations (level 3)
#> 2024-10-20 13:10:55.376549: Linearise component 'x' (level 4)
#> 2024-10-20 13:10:55.384893: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:55.392372: Linearise component 'x' (level 4)
#> 2024-10-20 13:10:55.400369: Linearise component 'Intercept' (level 4)
#> 2024-10-20 13:10:55.407798: Linearise component 'z' (level 4)
#> 2024-10-20 13:10:55.415823: iinla: Evaluate predictor linearisation (level 3)
#> 2024-10-20 13:10:55.416957: Linearise with respect to component 'x' (level 4)
#> 2024-10-20 13:10:55.419127: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:55.421991: Linearise with respect to component 'x' (level 4)
#> 2024-10-20 13:10:55.424054: Linearise with respect to component 'z' (level 4)
#> 2024-10-20 13:10:55.42596: Linearise with respect to component 'Intercept' (level 4)
#> 2024-10-20 13:10:55.444695: iinla: Max deviation from previous: 0.146% of SD, and line search is inactive
#> [stop if: <10% and line search inactive] (level 1)
#> 2024-10-20 13:10:55.445146: iinla: Convergence criterion met.
#> Running final INLA integration step with known theta mode. (level 1)
#> 2024-10-20 13:10:55.446134: iinla: Iteration 3 [max:10] (level 1)