From 8e1a7f83efd15b6b20a938e6a020e0a6e003be6f Mon Sep 17 00:00:00 2001 From: jamesaazam Date: Fri, 7 Jul 2023 18:22:16 -0500 Subject: [PATCH] Data generated as part of tests --- .../constant-foi-constant-no-group-foi.svg | 81 ----- .../constant-foi-constant-no-group.svg | 313 ------------------ .../simulate_data/constant-foi-group-foi.svg | 78 ----- .../simulate_data/sw-dec-foi-group-foi.svg | 77 ----- .../sw-dec-foi-tv-normal-no-group-foi.svg | 80 ----- .../sw-dec-foi-tv-normal-no-group.svg | 312 ----------------- .../sw_dec_foi_sim_data_no_grouped.csv | 10 +- 7 files changed, 5 insertions(+), 946 deletions(-) delete mode 100644 tests/testthat/_snaps/simulate_data/constant-foi-constant-no-group-foi.svg delete mode 100644 tests/testthat/_snaps/simulate_data/constant-foi-constant-no-group.svg delete mode 100644 tests/testthat/_snaps/simulate_data/constant-foi-group-foi.svg delete mode 100644 tests/testthat/_snaps/simulate_data/sw-dec-foi-group-foi.svg delete mode 100644 tests/testthat/_snaps/simulate_data/sw-dec-foi-tv-normal-no-group-foi.svg delete mode 100644 tests/testthat/_snaps/simulate_data/sw-dec-foi-tv-normal-no-group.svg diff --git a/tests/testthat/_snaps/simulate_data/constant-foi-constant-no-group-foi.svg b/tests/testthat/_snaps/simulate_data/constant-foi-constant-no-group-foi.svg deleted file mode 100644 index cddc2e89..00000000 --- a/tests/testthat/_snaps/simulate_data/constant-foi-constant-no-group-foi.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.01 -0.02 -0.03 - - - - - - - - - - -2000 -2010 -2020 -2030 -2040 -2050 -Year -Force-of-Infection -constant_foi_no_group - - diff --git a/tests/testthat/_snaps/simulate_data/constant-foi-constant-no-group.svg b/tests/testthat/_snaps/simulate_data/constant-foi-constant-no-group.svg deleted file mode 100644 index 66ab464d..00000000 --- a/tests/testthat/_snaps/simulate_data/constant-foi-constant-no-group.svg +++ /dev/null @@ -1,313 +0,0 @@ - - - - - - - - - - - - - - - - - - - -foi_model: constant -dataset: foi_sim -elpd: -66.18 -se: 5.5 -converged: Yes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - -0 -20 -40 -60 -Age -Sero-positivity - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.01 -0.02 -0.03 - - - - - - - - - - -2000 -2010 -2020 -2030 -2040 -2050 -Year -Force-of-Infection - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 - - - - - - - - - -2000 -2010 -2020 -2030 -2040 -2050 -year -Convergence (R^) - - diff --git a/tests/testthat/_snaps/simulate_data/constant-foi-group-foi.svg b/tests/testthat/_snaps/simulate_data/constant-foi-group-foi.svg deleted file mode 100644 index 065d666d..00000000 --- a/tests/testthat/_snaps/simulate_data/constant-foi-group-foi.svg +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.01 -0.02 -0.03 - - - - - - - - - -2010 -2020 -2030 -2040 -2050 -Year -Force-of-Infection -constant_foi_constant_group_ - - diff --git a/tests/testthat/_snaps/simulate_data/sw-dec-foi-group-foi.svg b/tests/testthat/_snaps/simulate_data/sw-dec-foi-group-foi.svg deleted file mode 100644 index 751690c1..00000000 --- a/tests/testthat/_snaps/simulate_data/sw-dec-foi-group-foi.svg +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.0 -0.1 -0.2 -0.3 - - - - - - - - - -2010 -2020 -2030 -2040 -2050 -Year -Force-of-Infection -sw_dec_foi_tv_normal_group_ - - diff --git a/tests/testthat/_snaps/simulate_data/sw-dec-foi-tv-normal-no-group-foi.svg b/tests/testthat/_snaps/simulate_data/sw-dec-foi-tv-normal-no-group-foi.svg deleted file mode 100644 index cfba1bfb..00000000 --- a/tests/testthat/_snaps/simulate_data/sw-dec-foi-tv-normal-no-group-foi.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.0 -0.1 -0.2 -0.3 - - - - - - - - - - -2000 -2010 -2020 -2030 -2040 -2050 -Year -Force-of-Infection -sw_dec_foi_no_group - - diff --git a/tests/testthat/_snaps/simulate_data/sw-dec-foi-tv-normal-no-group.svg b/tests/testthat/_snaps/simulate_data/sw-dec-foi-tv-normal-no-group.svg deleted file mode 100644 index 21012f12..00000000 --- a/tests/testthat/_snaps/simulate_data/sw-dec-foi-tv-normal-no-group.svg +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - - - - - - - - - - - - - - -foi_model: tv_normal -dataset: foi_sim -elpd: -35.07 -se: 4.6 -converged: Yes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.00 -0.25 -0.50 -0.75 -1.00 - - - - - - - - - -0 -20 -40 -60 -Age -Sero-positivity - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -0.0 -0.1 -0.2 -0.3 - - - - - - - - - - -2000 -2010 -2020 -2030 -2040 -2050 -Year -Force-of-Infection - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -1.0 -1.5 -2.0 - - - - - - - - - -2000 -2010 -2020 -2030 -2040 -2050 -year -Convergence (R^) - - diff --git a/tests/testthat/testdata/sw_dec_foi_sim_data_no_grouped.csv b/tests/testthat/testdata/sw_dec_foi_sim_data_no_grouped.csv index dbb327e0..1e107a23 100644 --- a/tests/testthat/testdata/sw_dec_foi_sim_data_no_grouped.csv +++ b/tests/testthat/testdata/sw_dec_foi_sim_data_no_grouped.csv @@ -15,13 +15,13 @@ 2036,2050,"None","fake","IgG","foi_sim",14,0,5,0,0,0.521823750104981,14,14 2035,2050,"None","fake","IgG","foi_sim",15,0,5,0,0,0.521823750104981,15,15 2034,2050,"None","fake","IgG","foi_sim",16,0,5,0,0,0.521823750104981,16,16 -2033,2050,"None","fake","IgG","foi_sim",17,1,5,0.2,0.00505076337946806,0.716417936118089,17,17 -2032,2050,"None","fake","IgG","foi_sim",18,1,5,0.2,0.00505076337946806,0.716417936118089,18,18 -2031,2050,"None","fake","IgG","foi_sim",19,1,5,0.2,0.00505076337946806,0.716417936118089,19,19 +2033,2050,"None","fake","IgG","foi_sim",17,1,5,0.2,0.00505076337946806,0.71641793611809,17,17 +2032,2050,"None","fake","IgG","foi_sim",18,1,5,0.2,0.00505076337946806,0.71641793611809,18,18 +2031,2050,"None","fake","IgG","foi_sim",19,1,5,0.2,0.00505076337946806,0.71641793611809,19,19 2030,2050,"None","fake","IgG","foi_sim",20,2,5,0.4,0.0527449505263169,0.853367200365327,20,20 2029,2050,"None","fake","IgG","foi_sim",21,0,5,0,0,0.521823750104981,21,21 -2028,2050,"None","fake","IgG","foi_sim",22,1,5,0.2,0.00505076337946806,0.716417936118089,22,22 -2027,2050,"None","fake","IgG","foi_sim",23,1,5,0.2,0.00505076337946806,0.716417936118089,23,23 +2028,2050,"None","fake","IgG","foi_sim",22,1,5,0.2,0.00505076337946806,0.71641793611809,22,22 +2027,2050,"None","fake","IgG","foi_sim",23,1,5,0.2,0.00505076337946806,0.71641793611809,23,23 2026,2050,"None","fake","IgG","foi_sim",24,3,5,0.6,0.146632799634673,0.947255049473683,24,24 2025,2050,"None","fake","IgG","foi_sim",25,2,5,0.4,0.0527449505263169,0.853367200365327,25,25 2024,2050,"None","fake","IgG","foi_sim",26,4,5,0.8,0.283582063881911,0.994949236620532,26,26