Model-fitting sensitivity
How sensitive are we to removing first/last data points?
## Warning: Removed 5 rows containing missing values (`geom_point()`).
which
|
P_change_percent
|
k_change_percent
|
Drop first
|
15.4
|
8.4
|
Drop last
|
-0.4
|
-0.8
|
How sensitive are results to FRAC_P and FRAC_K?
Reproducibility
## R version 4.1.3 (2022-03-10)
## Platform: x86_64-apple-darwin17.0 (64-bit)
## Running under: macOS Big Sur/Monterey 10.16
##
## Matrix products: default
## BLAS: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRblas.0.dylib
## LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib
##
## locale:
## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## other attached packages:
## [1] kableExtra_1.3.4 tidyr_1.2.0 tibble_3.1.8
## [4] scales_1.2.1 readr_2.1.2 lubridate_1.8.0
## [7] ggh4x_0.2.3 ggpmisc_0.4.6 ggpp_0.4.4
## [10] ggplot2_3.4.0 dplyr_1.0.9 PoolDilutionR_0.1.0
##
## loaded via a namespace (and not attached):
## [1] svglite_2.1.0 lattice_0.20-45 digest_0.6.29 utf8_1.2.2
## [5] R6_2.5.1 MatrixModels_0.5-0 evaluate_0.15 highr_0.9
## [9] httr_1.4.2 pillar_1.8.1 rlang_1.0.6 rstudioapi_0.13
## [13] SparseM_1.81 jquerylib_0.1.4 Matrix_1.4-0 rmarkdown_2.18
## [17] labeling_0.4.2 splines_4.1.3 webshot_0.5.2 stringr_1.4.0
## [21] bit_4.0.4 munsell_0.5.0 compiler_4.1.3 xfun_0.30
## [25] pkgconfig_2.0.3 systemfonts_1.0.4 htmltools_0.5.2 tidyselect_1.1.2
## [29] fansi_1.0.3 viridisLite_0.4.0 crayon_1.5.1 tzdb_0.3.0
## [33] withr_2.5.0 MASS_7.3-55 grid_4.1.3 jsonlite_1.8.0
## [37] gtable_0.3.0 lifecycle_1.0.3 magrittr_2.0.3 cli_3.4.1
## [41] stringi_1.7.6 vroom_1.5.7 farver_2.1.0 xml2_1.3.3
## [45] bslib_0.3.1 ellipsis_0.3.2 generics_0.1.3 vctrs_0.5.1
## [49] tools_4.1.3 bit64_4.0.5 glue_1.6.2 purrr_0.3.4
## [53] hms_1.1.2 parallel_4.1.3 fastmap_1.1.0 survival_3.2-13
## [57] yaml_2.3.5 colorspace_2.0-3 rvest_1.0.2 knitr_1.38
## [61] sass_0.4.1 quantreg_5.93