diff --git a/articles/Catch_errors.html b/articles/Catch_errors.html index 731e128..9894687 100644 --- a/articles/Catch_errors.html +++ b/articles/Catch_errors.html @@ -146,7 +146,7 @@

Run the simulation## Design: 2/3; Replications: 100; RAM Used: 69.1 Mb; Total Time: 0.05s ## Conditions: N=20 ## -## Design: 3/3; Replications: 100; RAM Used: 69.2 Mb; Total Time: 0.10s +## Design: 3/3; Replications: 100; RAM Used: 69.2 Mb; Total Time: 0.09s ## Conditions: N=30 ##
diff --git a/articles/Fixed_obj_fun.html b/articles/Fixed_obj_fun.html
index ceb6da6..ab349e7 100644
--- a/articles/Fixed_obj_fun.html
+++ b/articles/Fixed_obj_fun.html
@@ -191,9 +191,9 @@ 

Exporting objects example## # A tibble: 3 × 6 ## N p REPLICATIONS SIM_TIME SEED COMPLETED ## <dbl> <dbl> <dbl> <chr> <int> <chr> -## 1 10 0.038 1000 0.23s 525310970 Wed Dec 4 05:32:45 2024 -## 2 20 0.05 1000 0.22s 529914981 Wed Dec 4 05:32:45 2024 -## 3 30 0.056 1000 0.25s 602604143 Wed Dec 4 05:32:45 2024

+## 1 10 0.038 1000 0.22s 525310970 Wed Dec 4 05:41:15 2024 +## 2 20 0.05 1000 0.22s 529914981 Wed Dec 4 05:41:15 2024 +## 3 30 0.056 1000 0.24s 602604143 Wed Dec 4 05:41:15 2024

By placing objects in a list and passing this to fixed_objects, the objects are safely exported to all relevant functions. Furthermore, running this code in parallel will also diff --git a/articles/Saving-results.html b/articles/Saving-results.html index 5aa962f..75979d0 100644 --- a/articles/Saving-results.html +++ b/articles/Saving-results.html @@ -150,7 +150,7 @@

Option: save = TRUE (Defa
 files <- dir()
 files[grepl('SIMDESIGN', files)]
-
## [1] "SIMDESIGN-TEMPFILE_fv-az1756-196.rds"
+
## [1] "SIMDESIGN-TEMPFILE_fv-az1759-216.rds"

Notice here that the simulation stopped at 67% because the third design condition threw too many consecutive errors (this is a built-in fail-safe in SimDesign). To imitate a type of crash/power @@ -215,7 +215,7 @@