diff --git a/articles/Fixed_obj_fun.html b/articles/Fixed_obj_fun.html index 74307627..ecff0c5f 100644 --- a/articles/Fixed_obj_fun.html +++ b/articles/Fixed_obj_fun.html @@ -191,9 +191,9 @@
## # A tibble: 3 × 6
## N p REPLICATIONS SIM_TIME SEED COMPLETED
## <dbl> <dbl> <dbl> <chr> <int> <chr>
-## 1 10 0.038 1000 0.24s 525310970 Fri Aug 16 15:26:48 2024
-## 2 20 0.05 1000 0.24s 529914981 Fri Aug 16 15:26:48 2024
-## 3 30 0.056 1000 0.26s 602604143 Fri Aug 16 15:26:49 2024
+## 1 10 0.038 1000 0.22s 525310970 Fri Aug 16 15:33:43 2024
+## 2 20 0.05 1000 0.22s 529914981 Fri Aug 16 15:33:44 2024
+## 3 30 0.056 1000 0.24s 602604143 Fri Aug 16 15:33:44 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 fa706a8d..34fd0730 100644
--- a/articles/Saving-results.html
+++ b/articles/Saving-results.html
@@ -140,17 +140,17 @@
save = TRUE
(Defa
## Design: 1/3; RAM Used: 67.7 Mb; Replications: 1000; Total Time: 0.00s
## Conditions: N=10
##
-## Design: 2/3; RAM Used: 68.7 Mb; Replications: 1000; Total Time: 0.19s
+## Design: 2/3; RAM Used: 68.7 Mb; Replications: 1000; Total Time: 0.18s
## Conditions: N=20
##
-## Design: 3/3; RAM Used: 68.7 Mb; Replications: 1000; Total Time: 0.36s
+## Design: 3/3; RAM Used: 68.7 Mb; Replications: 1000; Total Time: 0.35s
## Conditions: N=30
##
Check that temporary file still exists.
-## [1] "SIMDESIGN-TEMPFILE_fv-az2031-206.rds"
+## [1] "SIMDESIGN-TEMPFILE_fv-az566-772.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
@@ -170,7 +170,7 @@
save = TRUE
(Defa
res <- runSimulation(Design, replications = 1000, save=TRUE, filename='my-simple-sim',
generate=Generate, analyse=Analyse, summarise=Summarise)
##
-## Design: 3/3; Replications: 1000; Total Time: 0.36s
+## Design: 3/3; Replications: 1000; Total Time: 0.35s
## Conditions: N=30
##
Check which files exist.
@@ -262,10 +262,10 @@diff --git a/articles/SimDesign-intro.html b/articles/SimDesign-intro.html index bdbabcd5..c73980c6 100644 --- a/articles/SimDesign-intro.html +++ b/articles/SimDesign-intro.html @@ -338,25 +338,25 @@Putting it all together## Design: 1/8; RAM Used: 70.3 Mb; Replications: 1000; Total Time: 0.00s ## Conditions: sample_size=30, distribution=norm ## -## Design: 2/8; RAM Used: 71.3 Mb; Replications: 1000; Total Time: 0.22s +## Design: 2/8; RAM Used: 71.3 Mb; Replications: 1000; Total Time: 0.21s ## Conditions: sample_size=60, distribution=norm ## -## Design: 3/8; RAM Used: 71.3 Mb; Replications: 1000; Total Time: 0.42s +## Design: 3/8; RAM Used: 71.3 Mb; Replications: 1000; Total Time: 0.41s ## Conditions: sample_size=120, distribution=norm ## -## Design: 4/8; RAM Used: 71.3 Mb; Replications: 1000; Total Time: 0.63s +## Design: 4/8; RAM Used: 71.3 Mb; Replications: 1000; Total Time: 0.61s ## Conditions: sample_size=240, distribution=norm ## -## Design: 5/8; RAM Used: 71.4 Mb; Replications: 1000; Total Time: 0.86s +## Design: 5/8; RAM Used: 71.4 Mb; Replications: 1000; Total Time: 0.83s ## Conditions: sample_size=30, distribution=chi ## -## Design: 6/8; RAM Used: 71.4 Mb; Replications: 1000; Total Time: 1.06s +## Design: 6/8; RAM Used: 71.4 Mb; Replications: 1000; Total Time: 1.02s ## Conditions: sample_size=60, distribution=chi ## -## Design: 7/8; RAM Used: 71.4 Mb; Replications: 1000; Total Time: 1.27s +## Design: 7/8; RAM Used: 71.4 Mb; Replications: 1000; Total Time: 1.22s ## Conditions: sample_size=120, distribution=chi ## -## Design: 8/8; RAM Used: 71.5 Mb; Replications: 1000; Total Time: 1.49s +## Design: 8/8; RAM Used: 71.5 Mb; Replications: 1000; Total Time: 1.44s ## Conditions: sample_size=240, distribution=chi ##
diff --git a/pkgdown.yml b/pkgdown.yml index 4abaf6bb..2c4f451e 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -9,7 +9,7 @@ articles: Parallel-computing: Parallel-computing.html Saving-results: Saving-results.html SimDesign-intro: SimDesign-intro.html -last_built: 2024-08-16T15:26Z +last_built: 2024-08-16T15:33Z urls: reference: http://philchalmers.github.io/SimDesign/reference article: http://philchalmers.github.io/SimDesign/articles diff --git a/reference/MSRSE.html b/reference/MSRSE.html index 81c297d2..bb551340 100644 --- a/reference/MSRSE.html +++ b/reference/MSRSE.html @@ -150,12 +150,12 @@Examples#> Conditions: dummy_run=NA #> #> -#> Simulation complete. Total execution time: 0.51s +#> Simulation complete. Total execution time: 0.48s results #> # A tibble: 1 × 7 #> `SE.(Intercept)` SE.X REPLICATIONS SIM_TIME RAM_USED SEED COMPLETED #> <dbl> <dbl> <dbl> <chr> <chr> <int> <chr> -#> 1 0.98822 1.1781 500 0.51s 129.7 Mb 402147477 Fri Aug 16 1… +#> 1 0.98822 1.1781 500 0.48s 129.7 Mb 402147477 Fri Aug 16 1…