diff --git a/.gitignore b/.gitignore index d97b6c6..2f2dca2 100755 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,8 @@ my_saved_plot* render*.rds tmp-pdfcrop* *.log +_bookdown_files/*/figure-epub3/* +_bookdown_files/*/epub3/* +_bookdown_files/*/html/* +_bookdown_files/*/figure-html/* +libs/* diff --git a/_bookdown_files/02_basics_files/figure-latex/chap2-fig-gbd-1.pdf b/_bookdown_files/02_basics_files/figure-latex/chap2-fig-gbd-1.pdf index 2b155e5..703f287 100644 Binary files a/_bookdown_files/02_basics_files/figure-latex/chap2-fig-gbd-1.pdf and b/_bookdown_files/02_basics_files/figure-latex/chap2-fig-gbd-1.pdf differ diff --git a/_bookdown_files/03_summarising_files/figure-latex/chap03-fig-gbd-1.pdf b/_bookdown_files/03_summarising_files/figure-latex/chap03-fig-gbd-1.pdf index 75b0ef7..3cf252b 100644 Binary files a/_bookdown_files/03_summarising_files/figure-latex/chap03-fig-gbd-1.pdf and b/_bookdown_files/03_summarising_files/figure-latex/chap03-fig-gbd-1.pdf differ diff --git a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p0-1.pdf b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p0-1.pdf index 9ab5c05..89f1978 100644 Binary files a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p0-1.pdf and b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p0-1.pdf differ diff --git a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p1112-1.pdf b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p1112-1.pdf index eab9de5..dcb4bc1 100644 Binary files a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p1112-1.pdf and b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p1112-1.pdf differ diff --git a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p1234-1.pdf b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p1234-1.pdf index 0eecfe2..a97d72c 100644 Binary files a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p1234-1.pdf and b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p1234-1.pdf differ diff --git a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p13-1.pdf b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p13-1.pdf index a5355c8..9e5ac3d 100644 Binary files a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p13-1.pdf and b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p13-1.pdf differ diff --git a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p141516-1.pdf b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p141516-1.pdf index 802ad25..bc3824d 100644 Binary files a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p141516-1.pdf and b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p141516-1.pdf differ diff --git a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p17-1.pdf b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p17-1.pdf index 5d9f1c4..2bbec80 100644 Binary files a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p17-1.pdf and b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p17-1.pdf differ diff --git a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p18-1.pdf b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p18-1.pdf index 6d718ab..33c8a51 100644 Binary files a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p18-1.pdf and b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p18-1.pdf differ diff --git a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p1920-1.pdf b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p1920-1.pdf index e3847ef..e43500e 100644 Binary files a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p1920-1.pdf and b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p1920-1.pdf differ diff --git a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p21-1.pdf b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p21-1.pdf index fbfde70..d6c714f 100644 Binary files a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p21-1.pdf and b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p21-1.pdf differ diff --git a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p56-1.pdf b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p56-1.pdf index 090c97b..43d77f7 100644 Binary files a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p56-1.pdf and b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p56-1.pdf differ diff --git a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p78-1.pdf b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p78-1.pdf index 5422b6f..198c7fc 100644 Binary files a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p78-1.pdf and b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p78-1.pdf differ diff --git a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p910-1.pdf b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p910-1.pdf index bf0b387..29ce7db 100644 Binary files a/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p910-1.pdf and b/_bookdown_files/05_fine_tuning_plots_files/figure-latex/chap05-fig-p910-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-boxplot-jitter-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-boxplot-jitter-1.pdf index dd5ae31..329fc0c 100644 Binary files a/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-boxplot-jitter-1.pdf and b/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-boxplot-jitter-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-boxplot-life-year-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-boxplot-life-year-1.pdf index 24b80d8..35d5fe4 100644 Binary files a/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-boxplot-life-year-1.pdf and b/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-boxplot-life-year-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-hist-life-year-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-hist-life-year-1.pdf index d991f9a..738bfb0 100644 Binary files a/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-hist-life-year-1.pdf and b/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-hist-life-year-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-line-life-asia-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-line-life-asia-1.pdf index dec1a5a..16d1d72 100644 Binary files a/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-line-life-asia-1.pdf and b/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-line-life-asia-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-qq-life-year-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-qq-life-year-1.pdf index 6a7f35d..5f56295 100644 Binary files a/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-qq-life-year-1.pdf and b/_bookdown_files/06_working_continuous_files/figure-latex/chap06-fig-qq-life-year-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-14-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-14-1.pdf new file mode 100644 index 0000000..0de32ff Binary files /dev/null and b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-14-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-15-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-15-1.pdf index 6c49d84..eb6836a 100644 Binary files a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-15-1.pdf and b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-15-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-17-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-17-1.pdf new file mode 100644 index 0000000..1ddc8ff Binary files /dev/null and b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-17-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-18-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-18-1.pdf index 80b0ec7..26d4357 100644 Binary files a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-18-1.pdf and b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-18-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-21-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-21-1.pdf new file mode 100644 index 0000000..8f5faa4 Binary files /dev/null and b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-21-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-22-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-22-1.pdf index 55c644a..b0ec0a8 100644 Binary files a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-22-1.pdf and b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-22-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-23-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-23-1.pdf index eaf2949..873bf01 100644 Binary files a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-23-1.pdf and b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-23-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-29-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-29-1.pdf new file mode 100644 index 0000000..bd02609 Binary files /dev/null and b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-29-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-30-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-30-1.pdf index 68910f2..2c72199 100644 Binary files a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-30-1.pdf and b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-30-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-31-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-31-1.pdf index 7f07416..00f1ba8 100644 Binary files a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-31-1.pdf and b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-31-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-32-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-32-1.pdf new file mode 100644 index 0000000..4c46316 Binary files /dev/null and b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-32-1.pdf differ diff --git a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-33-1.pdf b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-33-1.pdf index 528eadd..4c03153 100644 Binary files a/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-33-1.pdf and b/_bookdown_files/06_working_continuous_files/figure-latex/unnamed-chunk-33-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/chap07-diags-example-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/chap07-diags-example-1.pdf index 902df49..2299752 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/chap07-diags-example-1.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/chap07-diags-example-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/chap07-fig-bp-personality-type-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/chap07-fig-bp-personality-type-1.pdf index 5f86972..bd3d5b8 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/chap07-fig-bp-personality-type-1.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/chap07-fig-bp-personality-type-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/chap07-fig-bp-personality_type-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/chap07-fig-bp-personality_type-1.pdf new file mode 100644 index 0000000..6ffb40c Binary files /dev/null and b/_bookdown_files/07_linear_regression_files/figure-latex/chap07-fig-bp-personality_type-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-15-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-15-1.pdf index 7c7923b..9b8064a 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-15-1.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-15-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-17-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-17-1.pdf index 8bbeb13..a406d0d 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-17-1.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-17-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-18-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-18-1.pdf index 27e91ec..8079417 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-18-1.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-18-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-35-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-35-1.pdf new file mode 100644 index 0000000..a85b395 Binary files /dev/null and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-35-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-36-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-36-1.pdf index 46e87f3..6fe84be 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-36-1.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-36-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-37-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-37-1.pdf index b8b415b..56a662a 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-37-1.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-37-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-37-2.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-37-2.pdf new file mode 100644 index 0000000..4b0de83 Binary files /dev/null and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-37-2.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-38-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-38-1.pdf index 936c71e..534c945 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-38-1.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-38-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-38-2.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-38-2.pdf index 195698e..6ded190 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-38-2.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-38-2.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-38-3.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-38-3.pdf new file mode 100644 index 0000000..fe378db Binary files /dev/null and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-38-3.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-39-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-39-1.pdf index 7cac12f..6045735 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-39-1.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-39-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-39-2.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-39-2.pdf index 368bccd..bcad315 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-39-2.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-39-2.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-39-3.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-39-3.pdf index 49f0b9e..cec2d00 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-39-3.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-39-3.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-4-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-4-1.pdf index bc6671e..c2a7801 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-4-1.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-4-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-40-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-40-1.pdf index 2b80cc2..4a7762f 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-40-1.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-40-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-41-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-41-1.pdf index 7c40049..aa3e1c8 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-41-1.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-41-1.pdf differ diff --git a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-5-1.pdf b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-5-1.pdf index 7782301..c54d0d5 100644 Binary files a/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-5-1.pdf and b/_bookdown_files/07_linear_regression_files/figure-latex/unnamed-chunk-5-1.pdf differ diff --git a/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-10-1.pdf b/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-10-1.pdf index e6c0918..80af799 100644 Binary files a/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-10-1.pdf and b/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-10-1.pdf differ diff --git a/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-11-1.pdf b/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-11-1.pdf index bf32d41..fe140aa 100644 Binary files a/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-11-1.pdf and b/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-11-1.pdf differ diff --git a/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-5-1.pdf b/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-5-1.pdf index 1d09710..62fcf06 100644 Binary files a/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-5-1.pdf and b/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-5-1.pdf differ diff --git a/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-9-1.pdf b/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-9-1.pdf index ce3dcd2..6c25e07 100644 Binary files a/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-9-1.pdf and b/_bookdown_files/08_working_categorical_files/figure-latex/unnamed-chunk-9-1.pdf differ diff --git a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-contcat-1.pdf b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-contcat-1.pdf index 52e248d..7dad4c7 100644 Binary files a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-contcat-1.pdf and b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-contcat-1.pdf differ diff --git a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-contcont-1.pdf b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-contcont-1.pdf index c66dddf..0959937 100644 Binary files a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-contcont-1.pdf and b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-contcont-1.pdf differ diff --git a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-ggpairs-1.pdf b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-ggpairs-1.pdf index 84682ce..8f7a64a 100644 Binary files a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-ggpairs-1.pdf and b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-ggpairs-1.pdf differ diff --git a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-loess-1.pdf b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-loess-1.pdf index 4584295..058eb92 100644 Binary files a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-loess-1.pdf and b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-loess-1.pdf differ diff --git a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-morthist-1.pdf b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-morthist-1.pdf index f5acaf6..cde7732 100644 Binary files a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-morthist-1.pdf and b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-morthist-1.pdf differ diff --git a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-randeffects-1.pdf b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-randeffects-1.pdf index 0755911..1cdd008 100644 Binary files a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-randeffects-1.pdf and b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-randeffects-1.pdf differ diff --git a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-ulceration-1.pdf b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-ulceration-1.pdf index 2ac110f..8193e72 100644 Binary files a/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-ulceration-1.pdf and b/_bookdown_files/09_logistic_regression_files/figure-latex/chap09-fig-ulceration-1.pdf differ diff --git a/_bookdown_files/09_logistic_regression_files/figure-latex/unnamed-chunk-11-1.pdf b/_bookdown_files/09_logistic_regression_files/figure-latex/unnamed-chunk-11-1.pdf index 3e7978a..1645d91 100644 Binary files a/_bookdown_files/09_logistic_regression_files/figure-latex/unnamed-chunk-11-1.pdf and b/_bookdown_files/09_logistic_regression_files/figure-latex/unnamed-chunk-11-1.pdf differ diff --git a/_bookdown_files/09_logistic_regression_files/figure-latex/unnamed-chunk-34-1.pdf b/_bookdown_files/09_logistic_regression_files/figure-latex/unnamed-chunk-34-1.pdf index c4e27be..fa5b6ed 100644 Binary files a/_bookdown_files/09_logistic_regression_files/figure-latex/unnamed-chunk-34-1.pdf and b/_bookdown_files/09_logistic_regression_files/figure-latex/unnamed-chunk-34-1.pdf differ diff --git a/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-16-1.pdf b/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-16-1.pdf index d0c2171..90da370 100644 Binary files a/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-16-1.pdf and b/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-16-1.pdf differ diff --git a/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-24-1.pdf b/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-24-1.pdf index 88fa438..fe7479a 100644 Binary files a/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-24-1.pdf and b/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-24-1.pdf differ diff --git a/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-31-1.pdf b/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-31-1.pdf index a18d47f..619b5f8 100644 Binary files a/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-31-1.pdf and b/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-31-1.pdf differ diff --git a/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-8-1.pdf b/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-8-1.pdf index d94e8b0..7632b5b 100644 Binary files a/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-8-1.pdf and b/_bookdown_files/10_survival_files/figure-latex/unnamed-chunk-8-1.pdf differ diff --git a/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-10-1.pdf b/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-10-1.pdf index 4ce2311..c43e18d 100644 Binary files a/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-10-1.pdf and b/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-10-1.pdf differ diff --git a/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-22-1.pdf b/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-22-1.pdf index 9490c78..693e1a3 100644 Binary files a/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-22-1.pdf and b/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-22-1.pdf differ diff --git a/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-5-1.pdf b/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-5-1.pdf index 15dab47..3a05865 100644 Binary files a/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-5-1.pdf and b/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-5-1.pdf differ diff --git a/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-6-1.pdf b/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-6-1.pdf index 7e051dd..8f94f08 100644 Binary files a/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-6-1.pdf and b/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-6-1.pdf differ diff --git a/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-9-1.pdf b/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-9-1.pdf index cce7829..3aa113b 100644 Binary files a/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-9-1.pdf and b/_bookdown_files/11_missing_data_files/figure-latex/unnamed-chunk-9-1.pdf differ diff --git a/_bookdown_files/12_exporting_files/figure-latex/unnamed-chunk-8-1.pdf b/_bookdown_files/12_exporting_files/figure-latex/unnamed-chunk-8-1.pdf new file mode 100644 index 0000000..c635bca Binary files /dev/null and b/_bookdown_files/12_exporting_files/figure-latex/unnamed-chunk-8-1.pdf differ diff --git a/_bookdown_files/13_exporting_files/figure-latex/unnamed-chunk-8-1.pdf b/_bookdown_files/13_exporting_files/figure-latex/unnamed-chunk-8-1.pdf index 5d15033..cd5fb55 100644 Binary files a/_bookdown_files/13_exporting_files/figure-latex/unnamed-chunk-8-1.pdf and b/_bookdown_files/13_exporting_files/figure-latex/unnamed-chunk-8-1.pdf differ diff --git a/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-10-1.pdf b/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-10-1.pdf new file mode 100644 index 0000000..36a9f4a Binary files /dev/null and b/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-10-1.pdf differ diff --git a/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-4-1.pdf b/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-4-1.pdf new file mode 100644 index 0000000..cdbd6e8 Binary files /dev/null and b/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-4-1.pdf differ diff --git a/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-5-1.pdf b/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-5-1.pdf new file mode 100644 index 0000000..7ee77f1 Binary files /dev/null and b/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-5-1.pdf differ diff --git a/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-6-1.pdf b/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-6-1.pdf new file mode 100644 index 0000000..3b5a86e Binary files /dev/null and b/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-6-1.pdf differ diff --git a/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-8-1.pdf b/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-8-1.pdf new file mode 100644 index 0000000..2a7515a Binary files /dev/null and b/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-8-1.pdf differ diff --git a/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-9-1.pdf b/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-9-1.pdf new file mode 100644 index 0000000..6cc6429 Binary files /dev/null and b/_bookdown_files/14_missing_data_files/figure-latex/unnamed-chunk-9-1.pdf differ diff --git a/docs/healthyr-book.pdf b/docs/healthyr-book.pdf index e6f1fd6..540bc56 100644 Binary files a/docs/healthyr-book.pdf and b/docs/healthyr-book.pdf differ diff --git a/docs/healthyr-book.tex b/docs/healthyr-book.tex index 0202df2..61f4a4e 100644 --- a/docs/healthyr-book.tex +++ b/docs/healthyr-book.tex @@ -214,7 +214,7 @@ \title{R for Health Data Science} \author{Ewen Harrison and Riinu Pius} -\date{2020-09-14} +\date{2020-09-15} \begin{document} \maketitle @@ -1230,7 +1230,7 @@ \subsection{Date/time variables}\label{datetime-variables}} \end{Shaded} \begin{verbatim} -## [1] "2020-09-14 20:10:12 BST" +## [1] "2020-09-15 15:13:02 BST" \end{verbatim} \begin{Shaded} @@ -1302,7 +1302,7 @@ \subsection{Date/time variables}\label{datetime-variables}} \end{Shaded} \begin{verbatim} -## Time difference of 77.70124 days +## Time difference of 76.90761 days \end{verbatim} Since R knows this is a difference between two date/time objects, it prints them in a nicely readable way. @@ -1328,7 +1328,7 @@ \subsection{Date/time variables}\label{datetime-variables}} \end{Shaded} \begin{verbatim} -## [1] "2021-03-21 04:49:47 UTC" +## [1] "2021-03-20 09:46:57 UTC" \end{verbatim} But if we want to use the number of days in a normal calculation, e.g., what if a measurement increased by 560 arbitrary units during this time period. @@ -1354,7 +1354,7 @@ \subsection{Date/time variables}\label{datetime-variables}} \end{Shaded} \begin{verbatim} -## [1] 7.207092 +## [1] 7.281465 \end{verbatim} The \textbf{lubridate} package comes with several convenient functions for parsing dates, e.g., \texttt{ymd()}, \texttt{mdy()}, \texttt{ymd\_hm()}, etc. - for a full list see \url{lubridate.tidyverse.org}. @@ -1406,7 +1406,7 @@ \subsection{Date/time variables}\label{datetime-variables}} \end{Shaded} \begin{verbatim} -## [1] "2020-09-14 20:10:12 BST" +## [1] "2020-09-15 15:13:02 BST" \end{verbatim} \begin{Shaded} @@ -1416,7 +1416,7 @@ \subsection{Date/time variables}\label{datetime-variables}} \end{Shaded} \begin{verbatim} -## [1] "20:10 on September-14 (2020)" +## [1] "15:13 on September-15 (2020)" \end{verbatim} You can even add plain text into the \texttt{format()} function, R will know to put the right date/time values where the \texttt{\%} are: @@ -1428,7 +1428,7 @@ \subsection{Date/time variables}\label{datetime-variables}} \end{Shaded} \begin{verbatim} -## [1] "Happy days, the current time is 20:10 September-14 (2020)!" +## [1] "Happy days, the current time is 15:13 September-15 (2020)!" \end{verbatim} \begin{Shaded} @@ -1438,7 +1438,7 @@ \subsection{Date/time variables}\label{datetime-variables}} \end{Shaded} \begin{verbatim} -## [1] "Happy days, the current time is 20:10 September-14 (2020)!" +## [1] "Happy days, the current time is 15:13 September-15 (2020)!" \end{verbatim} \hypertarget{chap02-objects-functions}{% @@ -1659,7 +1659,7 @@ \subsection{Function and its arguments}\label{function-and-its-arguments}} \end{Shaded} \begin{verbatim} -## [1] "2020-09-14 20:10:13 BST" +## [1] "2020-09-15 15:13:03 BST" \end{verbatim} \hypertarget{working-with-objects}{% @@ -14698,9 +14698,9 @@ \chapter*{Appendix}\label{appendix}} ## gapminder_0.3.0 GGally_2.0.0 ggfortify_0.4.10 ## ggplot2_3.3.2 kableExtra_1.1.0.9000 knitr_1.29 ## lme4_1.1.23 lubridate_1.7.9 magrittr_1.5 -## mice_3.10.0 MissMech_1.0.2 patchwork_1.0.0.9000 +## mice_3.10.0 MissMech_1.0.2 patchwork_1.0.1 ## purrr_0.3.4 readr_1.3.1 rmarkdown_2.3 -## scales_1.1.1 stringr_1.4.0 survival_3.1.11 +## scales_1.1.1 stringr_1.4.0 survival_3.2.3 ## survminer_0.4.7 tibble_3.0.3 tidyr_1.1.0 ## tidyverse_1.3.0 \end{verbatim} diff --git a/krantz.cls b/krantz.cls index 50e7ef0..8243af0 100644 --- a/krantz.cls +++ b/krantz.cls @@ -377,8 +377,10 @@ \else \let\@oddfoot\@empty \let\@evenfoot\@empty - \let\@evenhead\even@head - \let\@oddhead\odd@head + \def\@evenhead{\thepage\RunningHeadFont\hfill +\if@mainmatter\thechapter\enspace\fi\leftmark}%\even@head + \def\@oddhead{\hfil{\RunningHeadFont\if@mainmatter\thesection\enspace\else\fi\rightmark} +\hfill\thepage}%\odd@head \fi } \else