From 3297cc32c3e20039b6596e9acdf95050e266af52 Mon Sep 17 00:00:00 2001 From: philchalmers Date: Mon, 9 Dec 2024 14:40:33 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20philchal?= =?UTF-8?q?mers/SimDesign@69744e5752b0bb55a63a9d40bd0e7cecfeee313a=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- articles/Fixed_obj_fun.html | 6 +++--- articles/Saving-results.html | 6 +++--- articles/SimDesign-intro.html | 10 +++++----- pkgdown.yml | 2 +- reference/PBA.html | 4 ++-- reference/reSummarise.html | 6 +++--- reference/rint.html | 2 +- reference/runSimulation.html | 24 ++++++++++++------------ search.json | 2 +- 9 files changed, 31 insertions(+), 31 deletions(-) diff --git a/articles/Fixed_obj_fun.html b/articles/Fixed_obj_fun.html index 15b3886..dd1d9e5 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 Mon Dec 9 14:24:17 2024 -## 2 20 0.05 1000 0.23s 529914981 Mon Dec 9 14:24:17 2024 -## 3 30 0.056 1000 0.25s 602604143 Mon Dec 9 14:24:18 2024 +## 1 10 0.038 1000 0.24s 525310970 Mon Dec 9 14:40:04 2024 +## 2 20 0.05 1000 0.23s 529914981 Mon Dec 9 14:40:04 2024 +## 3 30 0.056 1000 0.26s 602604143 Mon Dec 9 14:40:04 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 0042fcd..352c3c3 100644 --- a/articles/Saving-results.html +++ b/articles/Saving-results.html @@ -140,7 +140,7 @@

Option: save = TRUE (Defa ## Design: 1/3; Replications: 1000; RAM Used: 67.9 Mb; Total Time: 0.00s ## Conditions: N=10 ## -## Design: 2/3; Replications: 1000; RAM Used: 68.9 Mb; Total Time: 0.18s +## Design: 2/3; Replications: 1000; RAM Used: 68.9 Mb; Total Time: 0.19s ## Conditions: N=20 ## ## Design: 3/3; Replications: 1000; RAM Used: 68.9 Mb; Total Time: 0.36s @@ -150,7 +150,7 @@

Option: save = TRUE (Defa
 files <- dir()
 files[grepl('SIMDESIGN', files)]
-
## [1] "SIMDESIGN-TEMPFILE_fv-az1144-616.rds"
+
## [1] "SIMDESIGN-TEMPFILE_fv-az1022-891.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 @@ -265,7 +265,7 @@