Skip to content

Commit d7bb465

Browse files
author
aliaksah
committed
final script polished
1 parent fbe8b57 commit d7bb465

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

R_script/JSS_script_v2.R

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ result1a <- fbms(
419419
)
420420
time.lme4 <- toc()
421421

422-
422+
time.inla <- -1
423423
if (requireNamespace("INLA", quietly = TRUE)) {
424424
library(INLA)
425425
library(cAIC4)
@@ -441,7 +441,7 @@ if (requireNamespace("INLA", quietly = TRUE)) {
441441
time.inla <- toc()
442442
}
443443

444-
444+
time.rtmb <- -1
445445
if (requireNamespace("RTMB", quietly = TRUE)) {
446446
library(RTMB)
447447

@@ -465,6 +465,8 @@ if (requireNamespace("RTMB", quietly = TRUE)) {
465465
time.rtmb <- toc()
466466
}
467467

468+
cat(c(time.lme4$callback_msg, time.inla$callback_msg, time.rtmb$callback_msg)
469+
)
468470

469471
###############################################################
470472
# 2.3 Serious analysis with lme4 (Section 4). Runs within time
@@ -475,7 +477,7 @@ if (requireNamespace("RTMB", quietly = TRUE)) {
475477

476478
# Specify if to run long chains under mixed effect models.
477479
# Default is false as these chains an run longer than 20 minutes
478-
# depending on the eequipment used.
480+
# depending on the machines used.
479481
run.long.mixed = TRUE
480482

481483
if(run.long.mixed)

0 commit comments

Comments
 (0)