Last updated: 2021-08-06
Checks: 7 0
Knit directory: emlr_obs_v_XXX/
This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.
Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.
Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.
The command set.seed(20200707)
was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.
Great job! Recording the operating system, R version, and package versions is critical for reproducibility.
Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.
Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.
Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.
The results in this page were generated with repository version 39bfacc. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.
Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish
or wflow_git_commit
). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:
Ignored files:
Ignored: .Rhistory
Ignored: .Rproj.user/
Unstaged changes:
Modified: code/Workflowr_project_managment.R
Modified: data/auxillary/params_local.rds
Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.
These are the previous versions of the repository in which changes were made to the R Markdown (analysis/eMLR_assumption_testing.Rmd
) and HTML (docs/eMLR_assumption_testing.html
) files. If you’ve configured a remote Git repository (see ?wflow_git_remote
), click on the hyperlinks in the table below to view the files as they were in that past version.
File | Version | Author | Date | Message |
---|---|---|---|---|
html | 340d731 | jens-daniel-mueller | 2021-08-06 | Build site. |
html | 71546e4 | jens-daniel-mueller | 2021-08-06 | test with stricter CANYON-B filtering |
html | 29444a1 | jens-daniel-mueller | 2021-08-05 | Build site. |
html | 42e80c0 | jens-daniel-mueller | 2021-08-04 | Build site. |
html | 48f6eed | jens-daniel-mueller | 2021-08-04 | Build site. |
html | 1c597ab | jens-daniel-mueller | 2021-08-04 | Build site. |
html | 81a46a4 | jens-daniel-mueller | 2021-08-03 | Build site. |
html | b88c61b | jens-daniel-mueller | 2021-08-03 | Build site. |
html | 0f0d5e5 | jens-daniel-mueller | 2021-08-03 | Build site. |
html | a53656d | jens-daniel-mueller | 2021-08-03 | Build site. |
html | 88f7356 | jens-daniel-mueller | 2021-08-02 | Build site. |
html | d759279 | jens-daniel-mueller | 2021-08-02 | Build site. |
html | 127b801 | jens-daniel-mueller | 2021-07-24 | Build site. |
html | 1f65ef1 | jens-daniel-mueller | 2021-07-23 | Build site. |
html | 912d90e | jens-daniel-mueller | 2021-07-23 | Build site. |
html | 2477316 | jens-daniel-mueller | 2021-07-23 | rebuild: surface dcant mapping seperate |
html | c9ccc00 | jens-daniel-mueller | 2021-07-22 | Build site. |
html | 426b2df | jens-daniel-mueller | 2021-07-21 | Build site. |
html | 971ce87 | jens-daniel-mueller | 2021-07-13 | Build site. |
html | c18a8b1 | jens-daniel-mueller | 2021-07-09 | Build site. |
Rmd | 795a3b0 | jens-daniel-mueller | 2021-07-09 | complete revision |
html | 910d64a | jens-daniel-mueller | 2021-07-02 | Build site. |
html | 1cbf907 | jens-daniel-mueller | 2021-07-02 | Build site. |
html | 955f5dc | jens-daniel-mueller | 2021-06-29 | Build site. |
html | 9480f94 | jens-daniel-mueller | 2021-06-29 | Build site. |
html | d054c39 | jens-daniel-mueller | 2021-06-24 | Build site. |
html | 4fcd066 | jens-daniel-mueller | 2021-06-24 | Build site. |
html | 3b6387f | jens-daniel-mueller | 2021-06-18 | Build site. |
html | 3052a6c | jens-daniel-mueller | 2021-06-15 | Build site. |
html | 3cb64bd | jens-daniel-mueller | 2021-06-15 | Build site. |
html | c6b3da6 | jens-daniel-mueller | 2021-06-14 | Build site. |
html | 48c73fc | jens-daniel-mueller | 2021-06-14 | Build site. |
html | 439ee80 | jens-daniel-mueller | 2021-06-11 | Build site. |
html | 33ffcab | jens-daniel-mueller | 2021-06-10 | Build site. |
html | 7e1f407 | jens-daniel-mueller | 2021-06-10 | Build site. |
html | 2cbe18c | jens-daniel-mueller | 2021-06-10 | added zonal mean section control plots |
html | 69c79d0 | jens-daniel-mueller | 2021-06-08 | Build site. |
html | 1772903 | jens-daniel-mueller | 2021-06-07 | Build site. |
html | 594ed9a | jens-daniel-mueller | 2021-06-04 | Build site. |
html | db7df0e | jens-daniel-mueller | 2021-06-04 | rebuild without overlapping eras |
html | 2edc791 | jens-daniel-mueller | 2021-06-04 | Build site. |
html | 207339d | jens-daniel-mueller | 2021-06-03 | Build site. |
html | 315710b | jens-daniel-mueller | 2021-06-03 | include anomalous changes |
html | be90356 | jens-daniel-mueller | 2021-06-02 | Build site. |
html | d37a85d | jens-daniel-mueller | 2021-05-31 | Build site. |
html | 4b7a5ee | jens-daniel-mueller | 2021-05-28 | Build site. |
html | 12b455a | jens-daniel-mueller | 2021-05-27 | Build site. |
Rmd | ee13efb | jens-daniel-mueller | 2021-05-27 | optional source of local params fully implemented |
html | 8c736a6 | jens-daniel-mueller | 2021-05-27 | Build site. |
Rmd | dc8e4e1 | jens-daniel-mueller | 2021-05-27 | optional source of local params implemented |
html | 25bd183 | jens-daniel-mueller | 2021-05-26 | Build site. |
html | b79cb2d | jens-daniel-mueller | 2021-05-20 | Build site. |
html | 62bd574 | jens-daniel-mueller | 2021-05-20 | Build site. |
html | 7c56c39 | jens-daniel-mueller | 2021-05-19 | Build site. |
html | 0de759e | jens-daniel-mueller | 2021-05-13 | Build site. |
html | 52e7583 | jens-daniel-mueller | 2021-05-12 | Build site. |
html | 969e631 | jens-daniel-mueller | 2021-05-12 | Build site. |
html | d2a83bc | jens-daniel-mueller | 2021-04-16 | Build site. |
html | c0a47df | jens-daniel-mueller | 2021-04-16 | Build site. |
html | 50290e8 | jens-daniel-mueller | 2021-04-16 | overlapping eras |
html | a00ec94 | jens-daniel-mueller | 2021-04-16 | Build site. |
html | b6fe355 | jens-daniel-mueller | 2021-04-16 | Build site. |
html | 81b7c6d | jens-daniel-mueller | 2021-04-16 | Build site. |
html | ddec5b7 | jens-daniel-mueller | 2021-04-15 | Build site. |
html | 29edae5 | jens-daniel-mueller | 2021-04-14 | Build site. |
html | 099d566 | jens-daniel-mueller | 2021-04-14 | Build site. |
html | bb44686 | jens-daniel-mueller | 2021-04-14 | Build site. |
html | bf40480 | jens-daniel-mueller | 2021-04-13 | Build site. |
html | 9f31fe3 | jens-daniel-mueller | 2021-04-13 | Build site. |
Rmd | 80e1ee3 | jens-daniel-mueller | 2021-04-13 | rerun post-2000 with model data |
html | c98be84 | jens-daniel-mueller | 2021-04-13 | Build site. |
html | ea17c90 | jens-daniel-mueller | 2021-04-09 | Build site. |
Rmd | 4d61e3d | jens-daniel-mueller | 2021-04-09 | included model data |
html | 338dd3c | jens-daniel-mueller | 2021-04-09 | Build site. |
html | a79ca2c | jens-daniel-mueller | 2021-04-09 | included model data |
html | 7831fd3 | jens-daniel-mueller | 2021-04-09 | Build site. |
html | 20b26d4 | jens-daniel-mueller | 2021-04-08 | Build site. |
html | c0895f8 | jens-daniel-mueller | 2021-04-07 | Build site. |
html | 156d5b7 | jens-daniel-mueller | 2021-04-07 | Build site. |
html | eb827c9 | jens-daniel-mueller | 2021-04-07 | Build site. |
Rmd | 49be8ed | jens-daniel-mueller | 2021-03-26 | included model data |
html | ab5c8cf | jens-daniel-mueller | 2021-03-24 | Build site. |
Rmd | da3c481 | jens-daniel-mueller | 2021-03-24 | included model data |
html | 19faa17 | jens-daniel-mueller | 2021-03-24 | Build site. |
Rmd | ae3b4d7 | jens-daniel-mueller | 2021-03-24 | included model data |
html | 03b6009 | jens-daniel-mueller | 2021-03-23 | removed before copying template |
html | 98d4a6d | jens-daniel-mueller | 2021-03-23 | Build site. |
html | f155edd | jens-daniel-mueller | 2021-03-23 | Build site. |
html | 380d215 | jens-daniel-mueller | 2021-03-21 | Build site. |
html | 33b385b | jens-daniel-mueller | 2021-03-20 | Build site. |
html | 330dcd0 | jens-daniel-mueller | 2021-03-20 | Build site. |
html | 83a13de | jens-daniel-mueller | 2021-03-20 | Build site. |
html | cf98c6d | jens-daniel-mueller | 2021-03-16 | Build site. |
html | a1d52ff | jens-daniel-mueller | 2021-03-15 | Build site. |
html | 0bade3b | jens-daniel-mueller | 2021-03-15 | Build site. |
html | 27c1f4b | jens-daniel-mueller | 2021-03-14 | Build site. |
html | af75ebf | jens-daniel-mueller | 2021-03-14 | Build site. |
html | 5017709 | jens-daniel-mueller | 2021-03-11 | Build site. |
html | 585b07f | jens-daniel-mueller | 2021-03-11 | Build site. |
html | 6482ed7 | jens-daniel-mueller | 2021-03-11 | Build site. |
html | 85a5ed2 | jens-daniel-mueller | 2021-03-10 | Build site. |
html | 00688a1 | jens-daniel-mueller | 2021-03-05 | Build site. |
html | 6c0bec6 | jens-daniel-mueller | 2021-03-05 | Build site. |
html | 3c2ec33 | jens-daniel-mueller | 2021-03-05 | Build site. |
html | af70b94 | jens-daniel-mueller | 2021-03-04 | Build site. |
html | 86406d5 | jens-daniel-mueller | 2021-02-24 | Build site. |
html | 3d3b4cc | jens-daniel-mueller | 2021-02-23 | Build site. |
html | 7b672f7 | jens-daniel-mueller | 2021-01-11 | Build site. |
html | 33ba23c | jens-daniel-mueller | 2021-01-07 | Build site. |
html | 318609d | jens-daniel-mueller | 2020-12-23 | adapted more variable predictor selection |
html | 9d0b2d0 | jens-daniel-mueller | 2020-12-23 | Build site. |
html | 0aa2b50 | jens-daniel-mueller | 2020-12-23 | remove html before duplication |
html | 39113c3 | jens-daniel-mueller | 2020-12-23 | Build site. |
html | 2886da0 | jens-daniel-mueller | 2020-12-19 | Build site. |
html | 02f0ee9 | jens-daniel-mueller | 2020-12-18 | cleaned up for copying template |
html | 965dba3 | jens-daniel-mueller | 2020-12-18 | Build site. |
html | 5d452fe | jens-daniel-mueller | 2020-12-18 | Build site. |
Rmd | ca65bf5 | jens-daniel-mueller | 2020-12-18 | rebuild after final cleaning |
html | 7bcb4eb | jens-daniel-mueller | 2020-12-18 | Build site. |
html | d397028 | jens-daniel-mueller | 2020-12-18 | Build site. |
html | 7131186 | jens-daniel-mueller | 2020-12-17 | Build site. |
html | 22b07fb | jens-daniel-mueller | 2020-12-17 | Build site. |
html | f3a708f | jens-daniel-mueller | 2020-12-17 | Build site. |
html | e4ca289 | jens-daniel-mueller | 2020-12-16 | Build site. |
html | 158fe26 | jens-daniel-mueller | 2020-12-15 | Build site. |
html | 7a9a4cb | jens-daniel-mueller | 2020-12-15 | Build site. |
html | 61b263c | jens-daniel-mueller | 2020-12-15 | Build site. |
html | 4d612dd | jens-daniel-mueller | 2020-12-15 | Build site. |
Rmd | e7e5ff1 | jens-daniel-mueller | 2020-12-15 | rebuild with eMLR target variable selection |
html | 953caf3 | jens-daniel-mueller | 2020-12-15 | Build site. |
html | 42daf5c | jens-daniel-mueller | 2020-12-14 | Build site. |
Rmd | 923aa7f | jens-daniel-mueller | 2020-12-14 | rebuild with new path and auto folder creation |
html | 984697e | jens-daniel-mueller | 2020-12-12 | Build site. |
html | 3ebff89 | jens-daniel-mueller | 2020-12-12 | Build site. |
html | 5d96d3c | jens-daniel-mueller | 2020-12-11 | Build site. |
Rmd | 3d33a37 | jens-daniel-mueller | 2020-12-11 | selectable basinmask, try 5 |
html | b01a367 | jens-daniel-mueller | 2020-12-09 | Build site. |
html | 24a632f | jens-daniel-mueller | 2020-12-07 | Build site. |
html | 92dca91 | jens-daniel-mueller | 2020-12-07 | Build site. |
html | 6a8004b | jens-daniel-mueller | 2020-12-07 | Build site. |
html | 70bf1a5 | jens-daniel-mueller | 2020-12-07 | Build site. |
html | 7555355 | jens-daniel-mueller | 2020-12-07 | Build site. |
html | 143d6fa | jens-daniel-mueller | 2020-12-07 | Build site. |
Rmd | 33b1973 | jens-daniel-mueller | 2020-12-07 | run with WOCE flag 2 only |
html | abc6818 | jens-daniel-mueller | 2020-12-03 | Build site. |
Rmd | 992ba15 | jens-daniel-mueller | 2020-12-03 | rebuild with variable inventory depth |
html | c8c2e7b | jens-daniel-mueller | 2020-12-03 | Build site. |
Rmd | 83203db | jens-daniel-mueller | 2020-12-03 | calculate cant with variable inventory depth |
html | 090e4d5 | jens-daniel-mueller | 2020-12-02 | Build site. |
html | 7c25f7a | jens-daniel-mueller | 2020-12-02 | Build site. |
html | ec8dc38 | jens-daniel-mueller | 2020-12-02 | Build site. |
html | c987de1 | jens-daniel-mueller | 2020-12-02 | Build site. |
html | f8358f8 | jens-daniel-mueller | 2020-12-02 | Build site. |
html | b03ddb8 | jens-daniel-mueller | 2020-12-02 | Build site. |
Rmd | 9183e8f | jens-daniel-mueller | 2020-12-02 | revised assignment of era to eras |
html | 22d0127 | jens-daniel-mueller | 2020-12-01 | Build site. |
html | 0ff728b | jens-daniel-mueller | 2020-12-01 | Build site. |
html | 91435ae | jens-daniel-mueller | 2020-12-01 | Build site. |
Rmd | 17d09be | jens-daniel-mueller | 2020-12-01 | auto eras naming |
html | cf19652 | jens-daniel-mueller | 2020-11-30 | Build site. |
Rmd | 2842970 | jens-daniel-mueller | 2020-11-30 | cleaned for eMLR part only |
html | 196be51 | jens-daniel-mueller | 2020-11-30 | Build site. |
Rmd | 7a4b015 | jens-daniel-mueller | 2020-11-30 | first rebuild on ETH server |
Rmd | bc61ce3 | Jens Müller | 2020-11-30 | Initial commit |
html | bc61ce3 | Jens Müller | 2020-11-30 | Initial commit |
The results displayed on this site correspond to the Version_ID: v_XXX
Required are:
GLODAP <-
read_csv(paste(path_version_data,
"GLODAPv2.2020_MLR_fitting_ready.csv",
sep = ""))
The correlation between:
were investigated based on:
For an overview, a random subset of data from all eras was plotted separately for both basins, with color indicating neutral density slabs (high density = dark-purple color).
plot_fun <- function(df){
ggpairs(
data = df,
columns = c(params_local$MLR_target,
params_local$MLR_predictors),
upper = "blank",
ggplot2::aes(col = gamma_slab, fill = gamma_slab, alpha = 0.01)
) +
scale_fill_viridis_d(direction = -1) +
scale_color_viridis_d(direction = -1) +
labs(title = paste(
"Basin:",
unique(df$basin),
"| era: all | random subsample:",
nrow(df),
"| data source:",
unique(df$data_source)
))
}
GLODAP %>%
slice_sample(n = 5e3) %>%
group_split(basin, data_source) %>%
# head(1) %>%
map(plot_fun)
[[1]]
Version | Author | Date |
---|---|---|
340d731 | jens-daniel-mueller | 2021-08-06 |
71546e4 | jens-daniel-mueller | 2021-08-06 |
29444a1 | jens-daniel-mueller | 2021-08-05 |
42e80c0 | jens-daniel-mueller | 2021-08-04 |
48f6eed | jens-daniel-mueller | 2021-08-04 |
81a46a4 | jens-daniel-mueller | 2021-08-03 |
b88c61b | jens-daniel-mueller | 2021-08-03 |
a53656d | jens-daniel-mueller | 2021-08-03 |
88f7356 | jens-daniel-mueller | 2021-08-02 |
d759279 | jens-daniel-mueller | 2021-08-02 |
127b801 | jens-daniel-mueller | 2021-07-24 |
912d90e | jens-daniel-mueller | 2021-07-23 |
2477316 | jens-daniel-mueller | 2021-07-23 |
c9ccc00 | jens-daniel-mueller | 2021-07-22 |
c18a8b1 | jens-daniel-mueller | 2021-07-09 |
910d64a | jens-daniel-mueller | 2021-07-02 |
1cbf907 | jens-daniel-mueller | 2021-07-02 |
955f5dc | jens-daniel-mueller | 2021-06-29 |
9480f94 | jens-daniel-mueller | 2021-06-29 |
d054c39 | jens-daniel-mueller | 2021-06-24 |
4fcd066 | jens-daniel-mueller | 2021-06-24 |
3b6387f | jens-daniel-mueller | 2021-06-18 |
c6b3da6 | jens-daniel-mueller | 2021-06-14 |
439ee80 | jens-daniel-mueller | 2021-06-11 |
33ffcab | jens-daniel-mueller | 2021-06-10 |
7e1f407 | jens-daniel-mueller | 2021-06-10 |
2cbe18c | jens-daniel-mueller | 2021-06-10 |
69c79d0 | jens-daniel-mueller | 2021-06-08 |
1772903 | jens-daniel-mueller | 2021-06-07 |
594ed9a | jens-daniel-mueller | 2021-06-04 |
db7df0e | jens-daniel-mueller | 2021-06-04 |
2edc791 | jens-daniel-mueller | 2021-06-04 |
207339d | jens-daniel-mueller | 2021-06-03 |
315710b | jens-daniel-mueller | 2021-06-03 |
be90356 | jens-daniel-mueller | 2021-06-02 |
d37a85d | jens-daniel-mueller | 2021-05-31 |
4b7a5ee | jens-daniel-mueller | 2021-05-28 |
25bd183 | jens-daniel-mueller | 2021-05-26 |
62bd574 | jens-daniel-mueller | 2021-05-20 |
7c56c39 | jens-daniel-mueller | 2021-05-19 |
52e7583 | jens-daniel-mueller | 2021-05-12 |
969e631 | jens-daniel-mueller | 2021-05-12 |
d2a83bc | jens-daniel-mueller | 2021-04-16 |
c0a47df | jens-daniel-mueller | 2021-04-16 |
50290e8 | jens-daniel-mueller | 2021-04-16 |
a00ec94 | jens-daniel-mueller | 2021-04-16 |
b6fe355 | jens-daniel-mueller | 2021-04-16 |
81b7c6d | jens-daniel-mueller | 2021-04-16 |
ddec5b7 | jens-daniel-mueller | 2021-04-15 |
29edae5 | jens-daniel-mueller | 2021-04-14 |
9f31fe3 | jens-daniel-mueller | 2021-04-13 |
ea17c90 | jens-daniel-mueller | 2021-04-09 |
338dd3c | jens-daniel-mueller | 2021-04-09 |
a79ca2c | jens-daniel-mueller | 2021-04-09 |
eb827c9 | jens-daniel-mueller | 2021-04-07 |
ab5c8cf | jens-daniel-mueller | 2021-03-24 |
03b6009 | jens-daniel-mueller | 2021-03-23 |
98d4a6d | jens-daniel-mueller | 2021-03-23 |
83a13de | jens-daniel-mueller | 2021-03-20 |
cf98c6d | jens-daniel-mueller | 2021-03-16 |
a1d52ff | jens-daniel-mueller | 2021-03-15 |
0bade3b | jens-daniel-mueller | 2021-03-15 |
27c1f4b | jens-daniel-mueller | 2021-03-14 |
af75ebf | jens-daniel-mueller | 2021-03-14 |
5017709 | jens-daniel-mueller | 2021-03-11 |
585b07f | jens-daniel-mueller | 2021-03-11 |
85a5ed2 | jens-daniel-mueller | 2021-03-10 |
6c0bec6 | jens-daniel-mueller | 2021-03-05 |
af70b94 | jens-daniel-mueller | 2021-03-04 |
7b672f7 | jens-daniel-mueller | 2021-01-11 |
33ba23c | jens-daniel-mueller | 2021-01-07 |
318609d | jens-daniel-mueller | 2020-12-23 |
9d0b2d0 | jens-daniel-mueller | 2020-12-23 |
0aa2b50 | jens-daniel-mueller | 2020-12-23 |
2886da0 | jens-daniel-mueller | 2020-12-19 |
02f0ee9 | jens-daniel-mueller | 2020-12-18 |
7bcb4eb | jens-daniel-mueller | 2020-12-18 |
158fe26 | jens-daniel-mueller | 2020-12-15 |
7a9a4cb | jens-daniel-mueller | 2020-12-15 |
61b263c | jens-daniel-mueller | 2020-12-15 |
4d612dd | jens-daniel-mueller | 2020-12-15 |
984697e | jens-daniel-mueller | 2020-12-12 |
3ebff89 | jens-daniel-mueller | 2020-12-12 |
5d96d3c | jens-daniel-mueller | 2020-12-11 |
[[2]]
Version | Author | Date |
---|---|---|
340d731 | jens-daniel-mueller | 2021-08-06 |
71546e4 | jens-daniel-mueller | 2021-08-06 |
29444a1 | jens-daniel-mueller | 2021-08-05 |
42e80c0 | jens-daniel-mueller | 2021-08-04 |
48f6eed | jens-daniel-mueller | 2021-08-04 |
81a46a4 | jens-daniel-mueller | 2021-08-03 |
b88c61b | jens-daniel-mueller | 2021-08-03 |
a53656d | jens-daniel-mueller | 2021-08-03 |
88f7356 | jens-daniel-mueller | 2021-08-02 |
d759279 | jens-daniel-mueller | 2021-08-02 |
127b801 | jens-daniel-mueller | 2021-07-24 |
912d90e | jens-daniel-mueller | 2021-07-23 |
2477316 | jens-daniel-mueller | 2021-07-23 |
c9ccc00 | jens-daniel-mueller | 2021-07-22 |
c18a8b1 | jens-daniel-mueller | 2021-07-09 |
910d64a | jens-daniel-mueller | 2021-07-02 |
1cbf907 | jens-daniel-mueller | 2021-07-02 |
955f5dc | jens-daniel-mueller | 2021-06-29 |
9480f94 | jens-daniel-mueller | 2021-06-29 |
d054c39 | jens-daniel-mueller | 2021-06-24 |
4fcd066 | jens-daniel-mueller | 2021-06-24 |
3b6387f | jens-daniel-mueller | 2021-06-18 |
c6b3da6 | jens-daniel-mueller | 2021-06-14 |
439ee80 | jens-daniel-mueller | 2021-06-11 |
33ffcab | jens-daniel-mueller | 2021-06-10 |
7e1f407 | jens-daniel-mueller | 2021-06-10 |
2cbe18c | jens-daniel-mueller | 2021-06-10 |
69c79d0 | jens-daniel-mueller | 2021-06-08 |
1772903 | jens-daniel-mueller | 2021-06-07 |
594ed9a | jens-daniel-mueller | 2021-06-04 |
db7df0e | jens-daniel-mueller | 2021-06-04 |
2edc791 | jens-daniel-mueller | 2021-06-04 |
207339d | jens-daniel-mueller | 2021-06-03 |
315710b | jens-daniel-mueller | 2021-06-03 |
d37a85d | jens-daniel-mueller | 2021-05-31 |
4b7a5ee | jens-daniel-mueller | 2021-05-28 |
25bd183 | jens-daniel-mueller | 2021-05-26 |
62bd574 | jens-daniel-mueller | 2021-05-20 |
7c56c39 | jens-daniel-mueller | 2021-05-19 |
52e7583 | jens-daniel-mueller | 2021-05-12 |
969e631 | jens-daniel-mueller | 2021-05-12 |
d2a83bc | jens-daniel-mueller | 2021-04-16 |
c0a47df | jens-daniel-mueller | 2021-04-16 |
50290e8 | jens-daniel-mueller | 2021-04-16 |
a00ec94 | jens-daniel-mueller | 2021-04-16 |
b6fe355 | jens-daniel-mueller | 2021-04-16 |
81b7c6d | jens-daniel-mueller | 2021-04-16 |
ddec5b7 | jens-daniel-mueller | 2021-04-15 |
29edae5 | jens-daniel-mueller | 2021-04-14 |
9f31fe3 | jens-daniel-mueller | 2021-04-13 |
ea17c90 | jens-daniel-mueller | 2021-04-09 |
338dd3c | jens-daniel-mueller | 2021-04-09 |
a79ca2c | jens-daniel-mueller | 2021-04-09 |
eb827c9 | jens-daniel-mueller | 2021-04-07 |
ab5c8cf | jens-daniel-mueller | 2021-03-24 |
03b6009 | jens-daniel-mueller | 2021-03-23 |
98d4a6d | jens-daniel-mueller | 2021-03-23 |
83a13de | jens-daniel-mueller | 2021-03-20 |
cf98c6d | jens-daniel-mueller | 2021-03-16 |
a1d52ff | jens-daniel-mueller | 2021-03-15 |
0bade3b | jens-daniel-mueller | 2021-03-15 |
27c1f4b | jens-daniel-mueller | 2021-03-14 |
af75ebf | jens-daniel-mueller | 2021-03-14 |
5017709 | jens-daniel-mueller | 2021-03-11 |
585b07f | jens-daniel-mueller | 2021-03-11 |
85a5ed2 | jens-daniel-mueller | 2021-03-10 |
6c0bec6 | jens-daniel-mueller | 2021-03-05 |
af70b94 | jens-daniel-mueller | 2021-03-04 |
7b672f7 | jens-daniel-mueller | 2021-01-11 |
33ba23c | jens-daniel-mueller | 2021-01-07 |
318609d | jens-daniel-mueller | 2020-12-23 |
9d0b2d0 | jens-daniel-mueller | 2020-12-23 |
0aa2b50 | jens-daniel-mueller | 2020-12-23 |
2886da0 | jens-daniel-mueller | 2020-12-19 |
02f0ee9 | jens-daniel-mueller | 2020-12-18 |
7bcb4eb | jens-daniel-mueller | 2020-12-18 |
158fe26 | jens-daniel-mueller | 2020-12-15 |
7a9a4cb | jens-daniel-mueller | 2020-12-15 |
61b263c | jens-daniel-mueller | 2020-12-15 |
4d612dd | jens-daniel-mueller | 2020-12-15 |
984697e | jens-daniel-mueller | 2020-12-12 |
3ebff89 | jens-daniel-mueller | 2020-12-12 |
5d96d3c | jens-daniel-mueller | 2020-12-11 |
GLODAP <- GLODAP %>%
filter(data_source == "obs") %>%
select(-data_source)
Individual correlation plots for each basin, era and neutral density (gamma) slab are available at:
/nfs/kryo/work/jenmueller/emlr_cant/observations/v_XXX/figures/Observations_correlation/
if (params_local$plot_all_figures == "y") {
for (i_basin in unique(GLODAP$basin)) {
for (i_era in unique(GLODAP$era)) {
# i_basin <- unique(GLODAP$basin)[1]
# i_era <- unique(GLODAP$era)[1]
GLODAP_basin_era <- GLODAP %>%
filter(basin == i_basin,
era == i_era)
for (i_gamma_slab in unique(GLODAP_basin_era$gamma_slab)) {
# i_gamma_slab <- unique(GLODAP_basin_era$gamma_slab)[5]
GLODAP_highlight <- GLODAP_basin_era %>%
mutate(gamma_highlight = if_else(gamma_slab == i_gamma_slab,
"in", "out")) %>%
arrange(desc(gamma_highlight))
p <- GLODAP_highlight %>%
ggpairs(
columns = c(params_local$MLR_target,
params_local$MLR_predictors),
ggplot2::aes(
col = gamma_highlight,
fill = gamma_highlight,
alpha = 0.01
)
) +
scale_fill_manual(values = c("red", "grey")) +
scale_color_manual(values = c("red", "grey")) +
labs(
title = paste(
i_era,
"|",
i_basin,
"| Gamma slab",
i_gamma_slab,
"| # obs total",
nrow(GLODAP_basin_era),
"| # obs slab",
nrow(GLODAP_highlight %>%
filter(gamma_highlight == "in"))
)
)
png(
filename = paste(
path_version_figures,
"Observations_correlation/",
paste(
"Predictor_correlation",
i_era,
i_basin,
i_gamma_slab,
".png",
sep = "_"
),
sep = ""),
width = 12,
height = 12,
units = "in",
res = 300
)
print(p)
dev.off()
}
}
}
}
Correlation coefficients were calculated individually within each slabs, era and basin.
for (i_basin in unique(GLODAP$basin)) {
for (i_era in unique(GLODAP$era)) {
# i_basin <- unique(GLODAP$basin)[1]
# i_era <- unique(GLODAP$era)[1]
GLODAP_basin_era <- GLODAP %>%
filter(basin == i_basin,
era == i_era) %>%
select(basin,
era,
gamma_slab,
params_local$MLR_target,
params_local$MLR_predictors)
for (i_gamma_slab in unique(GLODAP_basin_era$gamma_slab)) {
# i_gamma_slab <- unique(GLODAP_basin_era$gamma_slab)[5]
print(i_gamma_slab)
GLODAP_basin_era_slab <- GLODAP_basin_era %>%
filter(gamma_slab == i_gamma_slab)
# calculate correlation table
cor_target_predictor_temp <- GLODAP_basin_era_slab %>%
select(-c(basin, era, gamma_slab)) %>%
correlate() %>%
focus(params_local$MLR_target) %>%
mutate(basin = i_basin,
era = i_era,
gamma_slab = i_gamma_slab)
if (exists("cor_target_predictor")) {
cor_target_predictor <-
bind_rows(cor_target_predictor, cor_target_predictor_temp)
}
if (!exists("cor_target_predictor")) {
cor_target_predictor <- cor_target_predictor_temp
}
cor_predictors_temp <- GLODAP_basin_era_slab %>%
select(-c(basin, era, gamma_slab)) %>%
correlate() %>%
shave %>%
stretch() %>%
filter(!is.na(r),
x != params_local$MLR_target,
y != params_local$MLR_target) %>%
mutate(pair = paste(x, y, sep = " + ")) %>%
select(-c(x, y)) %>%
mutate(basin = i_basin,
era = i_era,
gamma_slab = i_gamma_slab)
if (exists("cor_predictors")) {
cor_predictors <- bind_rows(cor_predictors, cor_predictors_temp)
}
if (!exists("cor_predictors")) {
cor_predictors <- cor_predictors_temp
}
}
}
}
rm(cor_predictors_temp, cor_target_predictor_temp,
i_gamma_slab, i_era, i_basin,
GLODAP_basin_era, GLODAP_basin_era_slab)
Below, the range of correlations coefficients for each predictor pair is plotted per basin (facet) and density slab (color). Note that the range indicates the min and max values of in total 3 calculated coefficients (one per era).
# calculate min, max, mean across all eras
cor_predictors_stats <- cor_predictors %>%
group_by(pair, basin, gamma_slab) %>%
summarise(mean_r = mean(r),
min_r = min(r),
max_r = max(r)) %>%
ungroup()
# plot figure
cor_predictors_stats %>%
mutate(pair = reorder(pair, mean_r)) %>%
ggplot() +
geom_vline(xintercept = c(-0.9, 0.9), col = "red") +
geom_vline(xintercept = 0) +
geom_linerange(
aes(y = pair, xmin = min_r, xmax = max_r, col = gamma_slab),
position = position_dodge(width = 0.6)) +
facet_wrap(~basin) +
scale_color_viridis_d(direction = -1) +
labs(x = "correlation coefficient", y = "") +
theme(legend.position = "top")
Version | Author | Date |
---|---|---|
340d731 | jens-daniel-mueller | 2021-08-06 |
71546e4 | jens-daniel-mueller | 2021-08-06 |
29444a1 | jens-daniel-mueller | 2021-08-05 |
42e80c0 | jens-daniel-mueller | 2021-08-04 |
48f6eed | jens-daniel-mueller | 2021-08-04 |
81a46a4 | jens-daniel-mueller | 2021-08-03 |
b88c61b | jens-daniel-mueller | 2021-08-03 |
a53656d | jens-daniel-mueller | 2021-08-03 |
88f7356 | jens-daniel-mueller | 2021-08-02 |
d759279 | jens-daniel-mueller | 2021-08-02 |
127b801 | jens-daniel-mueller | 2021-07-24 |
912d90e | jens-daniel-mueller | 2021-07-23 |
2477316 | jens-daniel-mueller | 2021-07-23 |
c9ccc00 | jens-daniel-mueller | 2021-07-22 |
910d64a | jens-daniel-mueller | 2021-07-02 |
1cbf907 | jens-daniel-mueller | 2021-07-02 |
955f5dc | jens-daniel-mueller | 2021-06-29 |
9480f94 | jens-daniel-mueller | 2021-06-29 |
d054c39 | jens-daniel-mueller | 2021-06-24 |
4fcd066 | jens-daniel-mueller | 2021-06-24 |
7e1f407 | jens-daniel-mueller | 2021-06-10 |
2cbe18c | jens-daniel-mueller | 2021-06-10 |
594ed9a | jens-daniel-mueller | 2021-06-04 |
db7df0e | jens-daniel-mueller | 2021-06-04 |
207339d | jens-daniel-mueller | 2021-06-03 |
315710b | jens-daniel-mueller | 2021-06-03 |
d37a85d | jens-daniel-mueller | 2021-05-31 |
25bd183 | jens-daniel-mueller | 2021-05-26 |
62bd574 | jens-daniel-mueller | 2021-05-20 |
7c56c39 | jens-daniel-mueller | 2021-05-19 |
52e7583 | jens-daniel-mueller | 2021-05-12 |
969e631 | jens-daniel-mueller | 2021-05-12 |
d2a83bc | jens-daniel-mueller | 2021-04-16 |
c0a47df | jens-daniel-mueller | 2021-04-16 |
50290e8 | jens-daniel-mueller | 2021-04-16 |
b6fe355 | jens-daniel-mueller | 2021-04-16 |
81b7c6d | jens-daniel-mueller | 2021-04-16 |
ddec5b7 | jens-daniel-mueller | 2021-04-15 |
29edae5 | jens-daniel-mueller | 2021-04-14 |
099d566 | jens-daniel-mueller | 2021-04-14 |
bb44686 | jens-daniel-mueller | 2021-04-14 |
bf40480 | jens-daniel-mueller | 2021-04-13 |
9f31fe3 | jens-daniel-mueller | 2021-04-13 |
338dd3c | jens-daniel-mueller | 2021-04-09 |
a79ca2c | jens-daniel-mueller | 2021-04-09 |
eb827c9 | jens-daniel-mueller | 2021-04-07 |
19faa17 | jens-daniel-mueller | 2021-03-24 |
03b6009 | jens-daniel-mueller | 2021-03-23 |
98d4a6d | jens-daniel-mueller | 2021-03-23 |
f155edd | jens-daniel-mueller | 2021-03-23 |
83a13de | jens-daniel-mueller | 2021-03-20 |
cf98c6d | jens-daniel-mueller | 2021-03-16 |
a1d52ff | jens-daniel-mueller | 2021-03-15 |
0bade3b | jens-daniel-mueller | 2021-03-15 |
27c1f4b | jens-daniel-mueller | 2021-03-14 |
af75ebf | jens-daniel-mueller | 2021-03-14 |
5017709 | jens-daniel-mueller | 2021-03-11 |
585b07f | jens-daniel-mueller | 2021-03-11 |
85a5ed2 | jens-daniel-mueller | 2021-03-10 |
6c0bec6 | jens-daniel-mueller | 2021-03-05 |
7b672f7 | jens-daniel-mueller | 2021-01-11 |
33ba23c | jens-daniel-mueller | 2021-01-07 |
318609d | jens-daniel-mueller | 2020-12-23 |
9d0b2d0 | jens-daniel-mueller | 2020-12-23 |
0aa2b50 | jens-daniel-mueller | 2020-12-23 |
2886da0 | jens-daniel-mueller | 2020-12-19 |
02f0ee9 | jens-daniel-mueller | 2020-12-18 |
158fe26 | jens-daniel-mueller | 2020-12-15 |
984697e | jens-daniel-mueller | 2020-12-12 |
3ebff89 | jens-daniel-mueller | 2020-12-12 |
5d96d3c | jens-daniel-mueller | 2020-12-11 |
24a632f | jens-daniel-mueller | 2020-12-07 |
6a8004b | jens-daniel-mueller | 2020-12-07 |
70bf1a5 | jens-daniel-mueller | 2020-12-07 |
7555355 | jens-daniel-mueller | 2020-12-07 |
143d6fa | jens-daniel-mueller | 2020-12-07 |
0ff728b | jens-daniel-mueller | 2020-12-01 |
91435ae | jens-daniel-mueller | 2020-12-01 |
196be51 | jens-daniel-mueller | 2020-11-30 |
bc61ce3 | Jens Müller | 2020-11-30 |
# print table
kable(cor_predictors_stats) %>%
add_header_above() %>%
kable_styling() %>%
scroll_box(width = "100%", height = "400px")
pair | basin | gamma_slab | mean_r | min_r | max_r |
---|---|---|---|---|---|
aou + nitrate | global | (-Inf,26] | 0.9206218 | 0.9059180 | 0.9353256 |
aou + nitrate | global | (26,26.5] | 0.9131695 | 0.9074893 | 0.9188496 |
aou + nitrate | global | (26.5,26.75] | 0.9099742 | 0.9013107 | 0.9186377 |
aou + nitrate | global | (26.75,27] | 0.9204587 | 0.9171265 | 0.9237910 |
aou + nitrate | global | (27,27.25] | 0.9011416 | 0.8977144 | 0.9045689 |
aou + nitrate | global | (27.25,27.5] | 0.8816885 | 0.8772374 | 0.8861397 |
aou + nitrate | global | (27.5,27.75] | 0.8980195 | 0.8932924 | 0.9027465 |
aou + nitrate | global | (27.75,27.85] | 0.9444877 | 0.9421202 | 0.9468553 |
aou + nitrate | global | (27.85,27.95] | 0.9617617 | 0.9613994 | 0.9621240 |
aou + nitrate | global | (27.95,28.05] | 0.9660994 | 0.9653714 | 0.9668274 |
aou + nitrate | global | (28.05,28.1] | 0.9790147 | 0.9784812 | 0.9795481 |
aou + nitrate | global | (28.1,28.2] | 0.9691529 | 0.9685645 | 0.9697414 |
aou + nitrate | global | (28.2,28.3] | 0.9639990 | 0.9593574 | 0.9686407 |
aou + nitrate | global | (28.3,28.4] | 0.4591401 | 0.3443845 | 0.5738957 |
aou + nitrate | global | (28.4, Inf] | 0.8113575 | 0.7227712 | 0.8999437 |
aou + oxygen | global | (-Inf,26] | -0.9223999 | -0.9341425 | -0.9106573 |
aou + oxygen | global | (26,26.5] | -0.9651862 | -0.9675868 | -0.9627857 |
aou + oxygen | global | (26.5,26.75] | -0.9672051 | -0.9686579 | -0.9657524 |
aou + oxygen | global | (26.75,27] | -0.9732246 | -0.9749900 | -0.9714591 |
aou + oxygen | global | (27,27.25] | -0.9820003 | -0.9822708 | -0.9817298 |
aou + oxygen | global | (27.25,27.5] | -0.9860279 | -0.9861680 | -0.9858877 |
aou + oxygen | global | (27.5,27.75] | -0.9871970 | -0.9873416 | -0.9870525 |
aou + oxygen | global | (27.75,27.85] | -0.9919253 | -0.9919852 | -0.9918653 |
aou + oxygen | global | (27.85,27.95] | -0.9938372 | -0.9939293 | -0.9937451 |
aou + oxygen | global | (27.95,28.05] | -0.9943251 | -0.9943554 | -0.9942948 |
aou + oxygen | global | (28.05,28.1] | -0.9972680 | -0.9974314 | -0.9971045 |
aou + oxygen | global | (28.1,28.2] | -0.9947781 | -0.9949719 | -0.9945844 |
aou + oxygen | global | (28.2,28.3] | -0.9908576 | -0.9912752 | -0.9904399 |
aou + oxygen | global | (28.3,28.4] | -0.9975568 | -0.9981358 | -0.9969778 |
aou + oxygen | global | (28.4, Inf] | -0.9984291 | -0.9986561 | -0.9982020 |
aou + phosphate | global | (-Inf,26] | 0.9257369 | 0.9144873 | 0.9369865 |
aou + phosphate | global | (26,26.5] | 0.9359160 | 0.9335274 | 0.9383046 |
aou + phosphate | global | (26.5,26.75] | 0.9196864 | 0.9103314 | 0.9290414 |
aou + phosphate | global | (26.75,27] | 0.9065849 | 0.9037852 | 0.9093845 |
aou + phosphate | global | (27,27.25] | 0.8899360 | 0.8886542 | 0.8912178 |
aou + phosphate | global | (27.25,27.5] | 0.8875454 | 0.8826379 | 0.8924529 |
aou + phosphate | global | (27.5,27.75] | 0.9104220 | 0.9065065 | 0.9143375 |
aou + phosphate | global | (27.75,27.85] | 0.9502430 | 0.9489807 | 0.9515052 |
aou + phosphate | global | (27.85,27.95] | 0.9652039 | 0.9650678 | 0.9653400 |
aou + phosphate | global | (27.95,28.05] | 0.9694377 | 0.9693613 | 0.9695142 |
aou + phosphate | global | (28.05,28.1] | 0.9807795 | 0.9803781 | 0.9811809 |
aou + phosphate | global | (28.1,28.2] | 0.9711361 | 0.9707120 | 0.9715602 |
aou + phosphate | global | (28.2,28.3] | 0.9604700 | 0.9583697 | 0.9625703 |
aou + phosphate | global | (28.3,28.4] | 0.3665716 | 0.1468346 | 0.5863086 |
aou + phosphate | global | (28.4, Inf] | 0.7449721 | 0.6245717 | 0.8653725 |
aou + silicate | global | (-Inf,26] | 0.7296441 | 0.6955453 | 0.7637430 |
aou + silicate | global | (26,26.5] | 0.7338985 | 0.7284226 | 0.7393744 |
aou + silicate | global | (26.5,26.75] | 0.6817050 | 0.6673063 | 0.6961037 |
aou + silicate | global | (26.75,27] | 0.7484949 | 0.7373504 | 0.7596393 |
aou + silicate | global | (27,27.25] | 0.8483060 | 0.8283500 | 0.8682620 |
aou + silicate | global | (27.25,27.5] | 0.8954951 | 0.8812416 | 0.9097486 |
aou + silicate | global | (27.5,27.75] | 0.9326177 | 0.9240994 | 0.9411361 |
aou + silicate | global | (27.75,27.85] | 0.9734024 | 0.9710566 | 0.9757482 |
aou + silicate | global | (27.85,27.95] | 0.9772852 | 0.9765527 | 0.9780176 |
aou + silicate | global | (27.95,28.05] | 0.9824487 | 0.9822936 | 0.9826037 |
aou + silicate | global | (28.05,28.1] | 0.9918729 | 0.9912992 | 0.9924466 |
aou + silicate | global | (28.1,28.2] | 0.9794475 | 0.9782573 | 0.9806376 |
aou + silicate | global | (28.2,28.3] | 0.9558442 | 0.9521665 | 0.9595219 |
aou + silicate | global | (28.3,28.4] | 0.6432392 | 0.4930045 | 0.7934739 |
aou + silicate | global | (28.4, Inf] | 0.9079494 | 0.8645779 | 0.9513210 |
nitrate + phosphate | global | (-Inf,26] | 0.9680398 | 0.9664703 | 0.9696092 |
nitrate + phosphate | global | (26,26.5] | 0.9708003 | 0.9669106 | 0.9746900 |
nitrate + phosphate | global | (26.5,26.75] | 0.9728679 | 0.9712778 | 0.9744580 |
nitrate + phosphate | global | (26.75,27] | 0.9833816 | 0.9813009 | 0.9854622 |
nitrate + phosphate | global | (27,27.25] | 0.9862488 | 0.9833277 | 0.9891698 |
nitrate + phosphate | global | (27.25,27.5] | 0.9908511 | 0.9890838 | 0.9926184 |
nitrate + phosphate | global | (27.5,27.75] | 0.9950854 | 0.9950348 | 0.9951361 |
nitrate + phosphate | global | (27.75,27.85] | 0.9977906 | 0.9976681 | 0.9979132 |
nitrate + phosphate | global | (27.85,27.95] | 0.9985132 | 0.9984777 | 0.9985487 |
nitrate + phosphate | global | (27.95,28.05] | 0.9985631 | 0.9983766 | 0.9987495 |
nitrate + phosphate | global | (28.05,28.1] | 0.9987045 | 0.9986286 | 0.9987804 |
nitrate + phosphate | global | (28.1,28.2] | 0.9979964 | 0.9977473 | 0.9982456 |
nitrate + phosphate | global | (28.2,28.3] | 0.9970180 | 0.9970109 | 0.9970250 |
nitrate + phosphate | global | (28.3,28.4] | 0.8768495 | 0.7803604 | 0.9733385 |
nitrate + phosphate | global | (28.4, Inf] | 0.8669827 | 0.8190266 | 0.9149388 |
nitrate + silicate | global | (-Inf,26] | 0.8573692 | 0.8548007 | 0.8599377 |
nitrate + silicate | global | (26,26.5] | 0.8601350 | 0.8482816 | 0.8719884 |
nitrate + silicate | global | (26.5,26.75] | 0.8312120 | 0.8253840 | 0.8370399 |
nitrate + silicate | global | (26.75,27] | 0.8295636 | 0.8144360 | 0.8446912 |
nitrate + silicate | global | (27,27.25] | 0.8326483 | 0.8180424 | 0.8472542 |
nitrate + silicate | global | (27.25,27.5] | 0.8420233 | 0.8309089 | 0.8531378 |
nitrate + silicate | global | (27.5,27.75] | 0.8869984 | 0.8843531 | 0.8896436 |
nitrate + silicate | global | (27.75,27.85] | 0.9479481 | 0.9441234 | 0.9517729 |
nitrate + silicate | global | (27.85,27.95] | 0.9676080 | 0.9638772 | 0.9713389 |
nitrate + silicate | global | (27.95,28.05] | 0.9747213 | 0.9726392 | 0.9768034 |
nitrate + silicate | global | (28.05,28.1] | 0.9781424 | 0.9765417 | 0.9797431 |
nitrate + silicate | global | (28.1,28.2] | 0.9803500 | 0.9800717 | 0.9806284 |
nitrate + silicate | global | (28.2,28.3] | 0.9764274 | 0.9763375 | 0.9765172 |
nitrate + silicate | global | (28.3,28.4] | 0.6792378 | 0.6190026 | 0.7394729 |
nitrate + silicate | global | (28.4, Inf] | 0.9001363 | 0.8991007 | 0.9011719 |
oxygen + nitrate | global | (-Inf,26] | -0.7317605 | -0.7777589 | -0.6857620 |
oxygen + nitrate | global | (26,26.5] | -0.7889351 | -0.8023075 | -0.7755627 |
oxygen + nitrate | global | (26.5,26.75] | -0.7874611 | -0.8037546 | -0.7711675 |
oxygen + nitrate | global | (26.75,27] | -0.8158247 | -0.8260193 | -0.8056302 |
oxygen + nitrate | global | (27,27.25] | -0.8160812 | -0.8227866 | -0.8093758 |
oxygen + nitrate | global | (27.25,27.5] | -0.8064799 | -0.8117768 | -0.8011830 |
oxygen + nitrate | global | (27.5,27.75] | -0.8288066 | -0.8358217 | -0.8217914 |
oxygen + nitrate | global | (27.75,27.85] | -0.9022664 | -0.9053508 | -0.8991820 |
oxygen + nitrate | global | (27.85,27.95] | -0.9300814 | -0.9304573 | -0.9297055 |
oxygen + nitrate | global | (27.95,28.05] | -0.9366840 | -0.9378126 | -0.9355553 |
oxygen + nitrate | global | (28.05,28.1] | -0.9637365 | -0.9649356 | -0.9625374 |
oxygen + nitrate | global | (28.1,28.2] | -0.9449643 | -0.9464014 | -0.9435272 |
oxygen + nitrate | global | (28.2,28.3] | -0.9378087 | -0.9416217 | -0.9339957 |
oxygen + nitrate | global | (28.3,28.4] | -0.4227199 | -0.5262414 | -0.3191984 |
oxygen + nitrate | global | (28.4, Inf] | -0.8008688 | -0.9024146 | -0.6993230 |
oxygen + phosphate | global | (-Inf,26] | -0.7614707 | -0.7984447 | -0.7244967 |
oxygen + phosphate | global | (26,26.5] | -0.8172793 | -0.8268155 | -0.8077430 |
oxygen + phosphate | global | (26.5,26.75] | -0.7946158 | -0.8122398 | -0.7769917 |
oxygen + phosphate | global | (26.75,27] | -0.7909408 | -0.7998989 | -0.7819827 |
oxygen + phosphate | global | (27,27.25] | -0.7962498 | -0.7992656 | -0.7932340 |
oxygen + phosphate | global | (27.25,27.5] | -0.8095653 | -0.8157010 | -0.8034296 |
oxygen + phosphate | global | (27.5,27.75] | -0.8432796 | -0.8484895 | -0.8380697 |
oxygen + phosphate | global | (27.75,27.85] | -0.9090611 | -0.9104472 | -0.9076750 |
oxygen + phosphate | global | (27.85,27.95] | -0.9342219 | -0.9342534 | -0.9341905 |
oxygen + phosphate | global | (27.95,28.05] | -0.9408369 | -0.9411915 | -0.9404824 |
oxygen + phosphate | global | (28.05,28.1] | -0.9657747 | -0.9668090 | -0.9647403 |
oxygen + phosphate | global | (28.1,28.2] | -0.9468524 | -0.9493064 | -0.9443983 |
oxygen + phosphate | global | (28.2,28.3] | -0.9338424 | -0.9348718 | -0.9328131 |
oxygen + phosphate | global | (28.3,28.4] | -0.3332375 | -0.5392212 | -0.1272538 |
oxygen + phosphate | global | (28.4, Inf] | -0.7331046 | -0.8612956 | -0.6049136 |
oxygen + silicate | global | (-Inf,26] | -0.5103682 | -0.5884791 | -0.4322574 |
oxygen + silicate | global | (26,26.5] | -0.5808812 | -0.5829395 | -0.5788229 |
oxygen + silicate | global | (26.5,26.75] | -0.5114049 | -0.5369335 | -0.4858764 |
oxygen + silicate | global | (26.75,27] | -0.6096611 | -0.6167598 | -0.6025625 |
oxygen + silicate | global | (27,27.25] | -0.7662177 | -0.7909414 | -0.7414940 |
oxygen + silicate | global | (27.25,27.5] | -0.8355005 | -0.8528577 | -0.8181433 |
oxygen + silicate | global | (27.5,27.75] | -0.8840372 | -0.8959472 | -0.8721273 |
oxygen + silicate | global | (27.75,27.85] | -0.9473459 | -0.9503277 | -0.9443641 |
oxygen + silicate | global | (27.85,27.95] | -0.9546948 | -0.9549034 | -0.9544862 |
oxygen + silicate | global | (27.95,28.05] | -0.9621948 | -0.9627747 | -0.9616148 |
oxygen + silicate | global | (28.05,28.1] | -0.9839158 | -0.9839782 | -0.9838534 |
oxygen + silicate | global | (28.1,28.2] | -0.9604910 | -0.9629608 | -0.9580213 |
oxygen + silicate | global | (28.2,28.3] | -0.9326389 | -0.9395470 | -0.9257308 |
oxygen + silicate | global | (28.3,28.4] | -0.6110451 | -0.7612119 | -0.4608784 |
oxygen + silicate | global | (28.4, Inf] | -0.8944344 | -0.9440409 | -0.8448278 |
sal + aou | global | (-Inf,26] | -0.1326000 | -0.1511633 | -0.1140367 |
sal + aou | global | (26,26.5] | -0.3773164 | -0.3932865 | -0.3613463 |
sal + aou | global | (26.5,26.75] | -0.4029848 | -0.4081356 | -0.3978339 |
sal + aou | global | (26.75,27] | -0.3367184 | -0.3758524 | -0.2975844 |
sal + aou | global | (27,27.25] | -0.2402808 | -0.2634462 | -0.2171155 |
sal + aou | global | (27.25,27.5] | -0.1632394 | -0.2255961 | -0.1008826 |
sal + aou | global | (27.5,27.75] | -0.3907206 | -0.4540720 | -0.3273691 |
sal + aou | global | (27.75,27.85] | -0.5900695 | -0.6017713 | -0.5783677 |
sal + aou | global | (27.85,27.95] | -0.6946411 | -0.7014238 | -0.6878583 |
sal + aou | global | (27.95,28.05] | -0.7637967 | -0.7758963 | -0.7516970 |
sal + aou | global | (28.05,28.1] | -0.8813305 | -0.8903414 | -0.8723196 |
sal + aou | global | (28.1,28.2] | -0.8709931 | -0.8740044 | -0.8679818 |
sal + aou | global | (28.2,28.3] | -0.8302961 | -0.8597290 | -0.8008632 |
sal + aou | global | (28.3,28.4] | 0.6301987 | 0.3747686 | 0.8856288 |
sal + aou | global | (28.4, Inf] | 0.7550111 | 0.7375052 | 0.7725169 |
sal + nitrate | global | (-Inf,26] | -0.3816260 | -0.4069454 | -0.3563066 |
sal + nitrate | global | (26,26.5] | -0.6516679 | -0.6716114 | -0.6317245 |
sal + nitrate | global | (26.5,26.75] | -0.6862784 | -0.6926216 | -0.6799352 |
sal + nitrate | global | (26.75,27] | -0.6303745 | -0.6713232 | -0.5894259 |
sal + nitrate | global | (27,27.25] | -0.5783808 | -0.6091807 | -0.5475810 |
sal + nitrate | global | (27.25,27.5] | -0.5328102 | -0.5784325 | -0.4871879 |
sal + nitrate | global | (27.5,27.75] | -0.6988342 | -0.7326636 | -0.6650048 |
sal + nitrate | global | (27.75,27.85] | -0.7751167 | -0.7751586 | -0.7750747 |
sal + nitrate | global | (27.85,27.95] | -0.8365504 | -0.8458093 | -0.8272916 |
sal + nitrate | global | (27.95,28.05] | -0.8881382 | -0.8973402 | -0.8789362 |
sal + nitrate | global | (28.05,28.1] | -0.9476564 | -0.9539542 | -0.9413587 |
sal + nitrate | global | (28.1,28.2] | -0.9464536 | -0.9504535 | -0.9424538 |
sal + nitrate | global | (28.2,28.3] | -0.9370997 | -0.9475166 | -0.9266827 |
sal + nitrate | global | (28.3,28.4] | -0.1490682 | -0.4611054 | 0.1629690 |
sal + nitrate | global | (28.4, Inf] | 0.5016788 | 0.2124097 | 0.7909478 |
sal + oxygen | global | (-Inf,26] | -0.1784121 | -0.2281973 | -0.1286270 |
sal + oxygen | global | (26,26.5] | 0.1325528 | 0.1245675 | 0.1405382 |
sal + oxygen | global | (26.5,26.75] | 0.1635095 | 0.1524151 | 0.1746038 |
sal + oxygen | global | (26.75,27] | 0.1187794 | 0.0847100 | 0.1528487 |
sal + oxygen | global | (27,27.25] | 0.0589806 | 0.0368265 | 0.0811346 |
sal + oxygen | global | (27.25,27.5] | 0.0049649 | -0.0571535 | 0.0670834 |
sal + oxygen | global | (27.5,27.75] | 0.2509674 | 0.1848019 | 0.3171328 |
sal + oxygen | global | (27.75,27.85] | 0.4875177 | 0.4757882 | 0.4992472 |
sal + oxygen | global | (27.85,27.95] | 0.6161072 | 0.6081290 | 0.6240853 |
sal + oxygen | global | (27.95,28.05] | 0.6951922 | 0.6814541 | 0.7089302 |
sal + oxygen | global | (28.05,28.1] | 0.8458145 | 0.8343798 | 0.8572492 |
sal + oxygen | global | (28.1,28.2] | 0.8215896 | 0.8193456 | 0.8238335 |
sal + oxygen | global | (28.2,28.3] | 0.7829599 | 0.7543376 | 0.8115823 |
sal + oxygen | global | (28.3,28.4] | -0.6584587 | -0.8899163 | -0.4270011 |
sal + oxygen | global | (28.4, Inf] | -0.7712089 | -0.7800719 | -0.7623459 |
sal + phosphate | global | (-Inf,26] | -0.3060641 | -0.3229473 | -0.2891809 |
sal + phosphate | global | (26,26.5] | -0.6498382 | -0.6699376 | -0.6297388 |
sal + phosphate | global | (26.5,26.75] | -0.7081380 | -0.7173981 | -0.6988778 |
sal + phosphate | global | (26.75,27] | -0.6819273 | -0.7169524 | -0.6469023 |
sal + phosphate | global | (27,27.25] | -0.6255859 | -0.6477431 | -0.6034287 |
sal + phosphate | global | (27.25,27.5] | -0.5473207 | -0.5908585 | -0.5037829 |
sal + phosphate | global | (27.5,27.75] | -0.6900153 | -0.7310843 | -0.6489464 |
sal + phosphate | global | (27.75,27.85] | -0.7732234 | -0.7775316 | -0.7689153 |
sal + phosphate | global | (27.85,27.95] | -0.8342177 | -0.8414815 | -0.8269538 |
sal + phosphate | global | (27.95,28.05] | -0.8848104 | -0.8938525 | -0.8757682 |
sal + phosphate | global | (28.05,28.1] | -0.9476107 | -0.9536296 | -0.9415919 |
sal + phosphate | global | (28.1,28.2] | -0.9489179 | -0.9528817 | -0.9449541 |
sal + phosphate | global | (28.2,28.3] | -0.9419040 | -0.9557562 | -0.9280519 |
sal + phosphate | global | (28.3,28.4] | -0.2548318 | -0.4606877 | -0.0489758 |
sal + phosphate | global | (28.4, Inf] | 0.3925297 | 0.1537135 | 0.6313460 |
sal + silicate | global | (-Inf,26] | -0.4991787 | -0.5459635 | -0.4523939 |
sal + silicate | global | (26,26.5] | -0.6869933 | -0.7055939 | -0.6683928 |
sal + silicate | global | (26.5,26.75] | -0.7554733 | -0.7732139 | -0.7377326 |
sal + silicate | global | (26.75,27] | -0.6886559 | -0.7062260 | -0.6710859 |
sal + silicate | global | (27,27.25] | -0.5097745 | -0.5161323 | -0.5034168 |
sal + silicate | global | (27.25,27.5] | -0.3860879 | -0.4206174 | -0.3515585 |
sal + silicate | global | (27.5,27.75] | -0.5128181 | -0.5599821 | -0.4656542 |
sal + silicate | global | (27.75,27.85] | -0.6700276 | -0.6791499 | -0.6609054 |
sal + silicate | global | (27.85,27.95] | -0.7684977 | -0.7690619 | -0.7679335 |
sal + silicate | global | (27.95,28.05] | -0.8223558 | -0.8260698 | -0.8186419 |
sal + silicate | global | (28.05,28.1] | -0.8993722 | -0.9045327 | -0.8942117 |
sal + silicate | global | (28.1,28.2] | -0.9135091 | -0.9171946 | -0.9098236 |
sal + silicate | global | (28.2,28.3] | -0.8898373 | -0.9055438 | -0.8741309 |
sal + silicate | global | (28.3,28.4] | 0.2082446 | 0.0598509 | 0.3566384 |
sal + silicate | global | (28.4, Inf] | 0.5885060 | 0.3769862 | 0.8000259 |
sal + temp | global | (-Inf,26] | 0.7493876 | 0.7283995 | 0.7703756 |
sal + temp | global | (26,26.5] | 0.9681371 | 0.9666559 | 0.9696184 |
sal + temp | global | (26.5,26.75] | 0.9871158 | 0.9869866 | 0.9872451 |
sal + temp | global | (26.75,27] | 0.9809615 | 0.9804573 | 0.9814657 |
sal + temp | global | (27,27.25] | 0.9742654 | 0.9726309 | 0.9758998 |
sal + temp | global | (27.25,27.5] | 0.9568674 | 0.9546552 | 0.9590796 |
sal + temp | global | (27.5,27.75] | 0.9345696 | 0.9245412 | 0.9445980 |
sal + temp | global | (27.75,27.85] | 0.9754148 | 0.9705229 | 0.9803067 |
sal + temp | global | (27.85,27.95] | 0.9499662 | 0.9487406 | 0.9511917 |
sal + temp | global | (27.95,28.05] | 0.9247302 | 0.9223275 | 0.9271328 |
sal + temp | global | (28.05,28.1] | 0.9353177 | 0.9351470 | 0.9354884 |
sal + temp | global | (28.1,28.2] | 0.7526399 | 0.6840629 | 0.8212170 |
sal + temp | global | (28.2,28.3] | 0.2136823 | 0.1847134 | 0.2426512 |
sal + temp | global | (28.3,28.4] | 0.7372213 | 0.6056504 | 0.8687922 |
sal + temp | global | (28.4, Inf] | 0.7412688 | 0.6885464 | 0.7939913 |
silicate + phosphate | global | (-Inf,26] | 0.7756569 | 0.7751173 | 0.7761964 |
silicate + phosphate | global | (26,26.5] | 0.8321324 | 0.8218966 | 0.8423681 |
silicate + phosphate | global | (26.5,26.75] | 0.8231553 | 0.8155416 | 0.8307689 |
silicate + phosphate | global | (26.75,27] | 0.8498003 | 0.8390881 | 0.8605124 |
silicate + phosphate | global | (27,27.25] | 0.8618272 | 0.8564021 | 0.8672522 |
silicate + phosphate | global | (27.25,27.5] | 0.8733184 | 0.8681534 | 0.8784833 |
silicate + phosphate | global | (27.5,27.75] | 0.9058941 | 0.9018432 | 0.9099449 |
silicate + phosphate | global | (27.75,27.85] | 0.9567679 | 0.9535547 | 0.9599812 |
silicate + phosphate | global | (27.85,27.95] | 0.9730951 | 0.9699729 | 0.9762173 |
silicate + phosphate | global | (27.95,28.05] | 0.9785570 | 0.9762850 | 0.9808290 |
silicate + phosphate | global | (28.05,28.1] | 0.9806778 | 0.9795040 | 0.9818515 |
silicate + phosphate | global | (28.1,28.2] | 0.9826092 | 0.9820683 | 0.9831501 |
silicate + phosphate | global | (28.2,28.3] | 0.9757446 | 0.9718451 | 0.9796440 |
silicate + phosphate | global | (28.3,28.4] | 0.6153117 | 0.4908871 | 0.7397362 |
silicate + phosphate | global | (28.4, Inf] | 0.7985686 | 0.7902787 | 0.8068585 |
temp + aou | global | (-Inf,26] | -0.1476599 | -0.1633452 | -0.1319745 |
temp + aou | global | (26,26.5] | -0.4023689 | -0.4167425 | -0.3879952 |
temp + aou | global | (26.5,26.75] | -0.3844074 | -0.3906672 | -0.3781477 |
temp + aou | global | (26.75,27] | -0.3380974 | -0.3809529 | -0.2952419 |
temp + aou | global | (27,27.25] | -0.2339900 | -0.2531984 | -0.2147816 |
temp + aou | global | (27.25,27.5] | -0.1398460 | -0.2062212 | -0.0734708 |
temp + aou | global | (27.5,27.75] | -0.3235854 | -0.4047723 | -0.2423984 |
temp + aou | global | (27.75,27.85] | -0.5409547 | -0.5664466 | -0.5154629 |
temp + aou | global | (27.85,27.95] | -0.5532953 | -0.5654442 | -0.5411464 |
temp + aou | global | (27.95,28.05] | -0.5375371 | -0.5575336 | -0.5175406 |
temp + aou | global | (28.05,28.1] | -0.6873836 | -0.7024809 | -0.6722864 |
temp + aou | global | (28.1,28.2] | -0.4064654 | -0.4900566 | -0.3228742 |
temp + aou | global | (28.2,28.3] | 0.0580674 | 0.0035718 | 0.1125630 |
temp + aou | global | (28.3,28.4] | 0.9191030 | 0.9142405 | 0.9239655 |
temp + aou | global | (28.4, Inf] | 0.9694870 | 0.9692559 | 0.9697180 |
temp + nitrate | global | (-Inf,26] | -0.4239009 | -0.4386174 | -0.4091843 |
temp + nitrate | global | (26,26.5] | -0.6887379 | -0.7063134 | -0.6711624 |
temp + nitrate | global | (26.5,26.75] | -0.6845921 | -0.6919688 | -0.6772153 |
temp + nitrate | global | (26.75,27] | -0.6414926 | -0.6849706 | -0.5980146 |
temp + nitrate | global | (27,27.25] | -0.5723519 | -0.6001999 | -0.5445039 |
temp + nitrate | global | (27.25,27.5] | -0.5025242 | -0.5497494 | -0.4552991 |
temp + nitrate | global | (27.5,27.75] | -0.6325833 | -0.6842601 | -0.5809065 |
temp + nitrate | global | (27.75,27.85] | -0.7378307 | -0.7512465 | -0.7244150 |
temp + nitrate | global | (27.85,27.95] | -0.7264208 | -0.7391127 | -0.7137288 |
temp + nitrate | global | (27.95,28.05] | -0.7112053 | -0.7266108 | -0.6957997 |
temp + nitrate | global | (28.05,28.1] | -0.8019518 | -0.8145888 | -0.7893149 |
temp + nitrate | global | (28.1,28.2] | -0.5674104 | -0.6637223 | -0.4710985 |
temp + nitrate | global | (28.2,28.3] | -0.0483598 | -0.0948200 | -0.0018996 |
temp + nitrate | global | (28.3,28.4] | 0.2528266 | 0.1905280 | 0.3151253 |
temp + nitrate | global | (28.4, Inf] | 0.8336491 | 0.7655780 | 0.9017202 |
temp + oxygen | global | (-Inf,26] | -0.2422579 | -0.2867442 | -0.1977715 |
temp + oxygen | global | (26,26.5] | 0.1496604 | 0.1431990 | 0.1561219 |
temp + oxygen | global | (26.5,26.75] | 0.1381481 | 0.1257932 | 0.1505031 |
temp + oxygen | global | (26.75,27] | 0.1137877 | 0.0761107 | 0.1514647 |
temp + oxygen | global | (27,27.25] | 0.0464914 | 0.0281823 | 0.0648006 |
temp + oxygen | global | (27.25,27.5] | -0.0264942 | -0.0926743 | 0.0396859 |
temp + oxygen | global | (27.5,27.75] | 0.1693911 | 0.0839556 | 0.2548265 |
temp + oxygen | global | (27.75,27.85] | 0.4302247 | 0.4032821 | 0.4571673 |
temp + oxygen | global | (27.85,27.95] | 0.4577559 | 0.4440484 | 0.4714634 |
temp + oxygen | global | (27.95,28.05] | 0.4451624 | 0.4235857 | 0.4667391 |
temp + oxygen | global | (28.05,28.1] | 0.6330621 | 0.6149614 | 0.6511629 |
temp + oxygen | global | (28.1,28.2] | 0.3153373 | 0.2262270 | 0.4044477 |
temp + oxygen | global | (28.2,28.3] | -0.1847829 | -0.2364834 | -0.1330823 |
temp + oxygen | global | (28.3,28.4] | -0.9324779 | -0.9337404 | -0.9312155 |
temp + oxygen | global | (28.4, Inf] | -0.9736273 | -0.9789755 | -0.9682790 |
temp + phosphate | global | (-Inf,26] | -0.3586940 | -0.3616336 | -0.3557543 |
temp + phosphate | global | (26,26.5] | -0.6781695 | -0.6960549 | -0.6602840 |
temp + phosphate | global | (26.5,26.75] | -0.6992003 | -0.7090374 | -0.6893632 |
temp + phosphate | global | (26.75,27] | -0.6846294 | -0.7226429 | -0.6466158 |
temp + phosphate | global | (27,27.25] | -0.6148616 | -0.6344755 | -0.5952476 |
temp + phosphate | global | (27.25,27.5] | -0.5185543 | -0.5640193 | -0.4730894 |
temp + phosphate | global | (27.5,27.75] | -0.6237795 | -0.6828590 | -0.5646999 |
temp + phosphate | global | (27.75,27.85] | -0.7345382 | -0.7518314 | -0.7172450 |
temp + phosphate | global | (27.85,27.95] | -0.7227168 | -0.7338908 | -0.7115428 |
temp + phosphate | global | (27.95,28.05] | -0.7057029 | -0.7214922 | -0.6899135 |
temp + phosphate | global | (28.05,28.1] | -0.7991105 | -0.8114392 | -0.7867819 |
temp + phosphate | global | (28.1,28.2] | -0.5667727 | -0.6622606 | -0.4712847 |
temp + phosphate | global | (28.2,28.3] | -0.0484727 | -0.0985467 | 0.0016013 |
temp + phosphate | global | (28.3,28.4] | 0.1680449 | 0.0066445 | 0.3294453 |
temp + phosphate | global | (28.4, Inf] | 0.7336767 | 0.6545917 | 0.8127618 |
temp + silicate | global | (-Inf,26] | -0.5052169 | -0.5539407 | -0.4564932 |
temp + silicate | global | (26,26.5] | -0.7275433 | -0.7432823 | -0.7118043 |
temp + silicate | global | (26.5,26.75] | -0.7788892 | -0.7973197 | -0.7604588 |
temp + silicate | global | (26.75,27] | -0.7208309 | -0.7427124 | -0.6989493 |
temp + silicate | global | (27,27.25] | -0.5318327 | -0.5424154 | -0.5212499 |
temp + silicate | global | (27.25,27.5] | -0.4018732 | -0.4392762 | -0.3644702 |
temp + silicate | global | (27.5,27.75] | -0.5145649 | -0.5691624 | -0.4599674 |
temp + silicate | global | (27.75,27.85] | -0.6454899 | -0.6638328 | -0.6271471 |
temp + silicate | global | (27.85,27.95] | -0.6627580 | -0.6669295 | -0.6585865 |
temp + silicate | global | (27.95,28.05] | -0.6383965 | -0.6490901 | -0.6277029 |
temp + silicate | global | (28.05,28.1] | -0.7212388 | -0.7298365 | -0.7126412 |
temp + silicate | global | (28.1,28.2] | -0.4982520 | -0.5875430 | -0.4089609 |
temp + silicate | global | (28.2,28.3] | -0.0030888 | -0.0701687 | 0.0639910 |
temp + silicate | global | (28.3,28.4] | 0.5903183 | 0.4951867 | 0.6854499 |
temp + silicate | global | (28.4, Inf] | 0.9140827 | 0.9075674 | 0.9205979 |
rm(cor_predictors, cor_predictors_stats)
Below, the range of correlations coefficients for C* with each predictor is plotted per basin (facet) and density slab (color). Note that the range indicates the min and max values of in total 3 calculated coefficients (one per era).
cor_target_predictor <- cor_target_predictor %>%
rename(predictor = term)
# calculate min, max, mean across all eras
cor_target_predictor_stats <- cor_target_predictor %>%
select(-era) %>%
group_by(predictor, basin, gamma_slab) %>%
summarise_all(list(mean_r = mean, min_r = min, max_r = max)) %>%
ungroup()
# plot figure
cor_target_predictor_stats %>%
mutate(predictor = reorder(predictor, mean_r)) %>%
ggplot() +
geom_vline(xintercept = c(-0.9, 0.9), col = "red") +
geom_vline(xintercept = 0) +
geom_linerange(
aes(y = predictor, xmin = min_r, xmax = max_r, col = gamma_slab),
position = position_dodge(width = 0.6)) +
facet_wrap(~basin) +
scale_color_viridis_d(direction = -1) +
labs(x = "correlation coefficient", y = "C* correlation with...") +
theme(legend.position = "top")
Version | Author | Date |
---|---|---|
340d731 | jens-daniel-mueller | 2021-08-06 |
71546e4 | jens-daniel-mueller | 2021-08-06 |
29444a1 | jens-daniel-mueller | 2021-08-05 |
42e80c0 | jens-daniel-mueller | 2021-08-04 |
48f6eed | jens-daniel-mueller | 2021-08-04 |
81a46a4 | jens-daniel-mueller | 2021-08-03 |
b88c61b | jens-daniel-mueller | 2021-08-03 |
a53656d | jens-daniel-mueller | 2021-08-03 |
88f7356 | jens-daniel-mueller | 2021-08-02 |
d759279 | jens-daniel-mueller | 2021-08-02 |
127b801 | jens-daniel-mueller | 2021-07-24 |
912d90e | jens-daniel-mueller | 2021-07-23 |
2477316 | jens-daniel-mueller | 2021-07-23 |
c9ccc00 | jens-daniel-mueller | 2021-07-22 |
c18a8b1 | jens-daniel-mueller | 2021-07-09 |
910d64a | jens-daniel-mueller | 2021-07-02 |
1cbf907 | jens-daniel-mueller | 2021-07-02 |
955f5dc | jens-daniel-mueller | 2021-06-29 |
9480f94 | jens-daniel-mueller | 2021-06-29 |
d054c39 | jens-daniel-mueller | 2021-06-24 |
4fcd066 | jens-daniel-mueller | 2021-06-24 |
3b6387f | jens-daniel-mueller | 2021-06-18 |
c6b3da6 | jens-daniel-mueller | 2021-06-14 |
439ee80 | jens-daniel-mueller | 2021-06-11 |
33ffcab | jens-daniel-mueller | 2021-06-10 |
7e1f407 | jens-daniel-mueller | 2021-06-10 |
2cbe18c | jens-daniel-mueller | 2021-06-10 |
69c79d0 | jens-daniel-mueller | 2021-06-08 |
1772903 | jens-daniel-mueller | 2021-06-07 |
594ed9a | jens-daniel-mueller | 2021-06-04 |
db7df0e | jens-daniel-mueller | 2021-06-04 |
2edc791 | jens-daniel-mueller | 2021-06-04 |
207339d | jens-daniel-mueller | 2021-06-03 |
315710b | jens-daniel-mueller | 2021-06-03 |
d37a85d | jens-daniel-mueller | 2021-05-31 |
4b7a5ee | jens-daniel-mueller | 2021-05-28 |
25bd183 | jens-daniel-mueller | 2021-05-26 |
62bd574 | jens-daniel-mueller | 2021-05-20 |
7c56c39 | jens-daniel-mueller | 2021-05-19 |
52e7583 | jens-daniel-mueller | 2021-05-12 |
969e631 | jens-daniel-mueller | 2021-05-12 |
d2a83bc | jens-daniel-mueller | 2021-04-16 |
c0a47df | jens-daniel-mueller | 2021-04-16 |
50290e8 | jens-daniel-mueller | 2021-04-16 |
a00ec94 | jens-daniel-mueller | 2021-04-16 |
b6fe355 | jens-daniel-mueller | 2021-04-16 |
81b7c6d | jens-daniel-mueller | 2021-04-16 |
ddec5b7 | jens-daniel-mueller | 2021-04-15 |
29edae5 | jens-daniel-mueller | 2021-04-14 |
099d566 | jens-daniel-mueller | 2021-04-14 |
bb44686 | jens-daniel-mueller | 2021-04-14 |
bf40480 | jens-daniel-mueller | 2021-04-13 |
9f31fe3 | jens-daniel-mueller | 2021-04-13 |
338dd3c | jens-daniel-mueller | 2021-04-09 |
a79ca2c | jens-daniel-mueller | 2021-04-09 |
eb827c9 | jens-daniel-mueller | 2021-04-07 |
19faa17 | jens-daniel-mueller | 2021-03-24 |
03b6009 | jens-daniel-mueller | 2021-03-23 |
98d4a6d | jens-daniel-mueller | 2021-03-23 |
f155edd | jens-daniel-mueller | 2021-03-23 |
83a13de | jens-daniel-mueller | 2021-03-20 |
cf98c6d | jens-daniel-mueller | 2021-03-16 |
a1d52ff | jens-daniel-mueller | 2021-03-15 |
0bade3b | jens-daniel-mueller | 2021-03-15 |
27c1f4b | jens-daniel-mueller | 2021-03-14 |
af75ebf | jens-daniel-mueller | 2021-03-14 |
5017709 | jens-daniel-mueller | 2021-03-11 |
585b07f | jens-daniel-mueller | 2021-03-11 |
85a5ed2 | jens-daniel-mueller | 2021-03-10 |
6c0bec6 | jens-daniel-mueller | 2021-03-05 |
3c2ec33 | jens-daniel-mueller | 2021-03-05 |
af70b94 | jens-daniel-mueller | 2021-03-04 |
7b672f7 | jens-daniel-mueller | 2021-01-11 |
33ba23c | jens-daniel-mueller | 2021-01-07 |
318609d | jens-daniel-mueller | 2020-12-23 |
9d0b2d0 | jens-daniel-mueller | 2020-12-23 |
0aa2b50 | jens-daniel-mueller | 2020-12-23 |
2886da0 | jens-daniel-mueller | 2020-12-19 |
02f0ee9 | jens-daniel-mueller | 2020-12-18 |
7bcb4eb | jens-daniel-mueller | 2020-12-18 |
158fe26 | jens-daniel-mueller | 2020-12-15 |
7a9a4cb | jens-daniel-mueller | 2020-12-15 |
61b263c | jens-daniel-mueller | 2020-12-15 |
984697e | jens-daniel-mueller | 2020-12-12 |
3ebff89 | jens-daniel-mueller | 2020-12-12 |
5d96d3c | jens-daniel-mueller | 2020-12-11 |
24a632f | jens-daniel-mueller | 2020-12-07 |
6a8004b | jens-daniel-mueller | 2020-12-07 |
70bf1a5 | jens-daniel-mueller | 2020-12-07 |
7555355 | jens-daniel-mueller | 2020-12-07 |
143d6fa | jens-daniel-mueller | 2020-12-07 |
090e4d5 | jens-daniel-mueller | 2020-12-02 |
0ff728b | jens-daniel-mueller | 2020-12-01 |
91435ae | jens-daniel-mueller | 2020-12-01 |
196be51 | jens-daniel-mueller | 2020-11-30 |
bc61ce3 | Jens Müller | 2020-11-30 |
# print table
kable(cor_target_predictor_stats) %>%
add_header_above() %>%
kable_styling() %>%
scroll_box(width = "100%", height = "400px")
predictor | basin | gamma_slab | mean_r | min_r | max_r |
---|---|---|---|---|---|
aou | global | (-Inf,26] | -0.3846459 | -0.4721903 | -0.2971015 |
aou | global | (26,26.5] | -0.7209012 | -0.7488276 | -0.6929748 |
aou | global | (26.5,26.75] | -0.7045339 | -0.7528604 | -0.6562074 |
aou | global | (26.75,27] | -0.5741883 | -0.5925128 | -0.5558638 |
aou | global | (27,27.25] | -0.2524669 | -0.2611338 | -0.2437999 |
aou | global | (27.25,27.5] | -0.0859553 | -0.1204685 | -0.0514422 |
aou | global | (27.5,27.75] | -0.1590107 | -0.2447364 | -0.0732849 |
aou | global | (27.75,27.85] | -0.4511351 | -0.4923984 | -0.4098719 |
aou | global | (27.85,27.95] | -0.6079703 | -0.6393310 | -0.5766095 |
aou | global | (27.95,28.05] | -0.6704095 | -0.7022300 | -0.6385890 |
aou | global | (28.05,28.1] | -0.7692720 | -0.7883287 | -0.7502152 |
aou | global | (28.1,28.2] | -0.7882243 | -0.8074985 | -0.7689501 |
aou | global | (28.2,28.3] | -0.9148526 | -0.9221513 | -0.9075539 |
aou | global | (28.3,28.4] | 0.0493480 | -0.2375342 | 0.3362303 |
aou | global | (28.4, Inf] | -0.0769802 | -0.3346232 | 0.1806627 |
nitrate | global | (-Inf,26] | -0.4282448 | -0.5116376 | -0.3448521 |
nitrate | global | (26,26.5] | -0.8607916 | -0.8838871 | -0.8376961 |
nitrate | global | (26.5,26.75] | -0.8639926 | -0.8877556 | -0.8402295 |
nitrate | global | (26.75,27] | -0.7852130 | -0.7874804 | -0.7829456 |
nitrate | global | (27,27.25] | -0.5895480 | -0.5960202 | -0.5830758 |
nitrate | global | (27.25,27.5] | -0.4968837 | -0.5239763 | -0.4697911 |
nitrate | global | (27.5,27.75] | -0.5316181 | -0.6039003 | -0.4593358 |
nitrate | global | (27.75,27.85] | -0.6899491 | -0.7226447 | -0.6572536 |
nitrate | global | (27.85,27.95] | -0.7702007 | -0.7968981 | -0.7435034 |
nitrate | global | (27.95,28.05] | -0.8070860 | -0.8338063 | -0.7803658 |
nitrate | global | (28.05,28.1] | -0.8603806 | -0.8765074 | -0.8442537 |
nitrate | global | (28.1,28.2] | -0.8889188 | -0.9032663 | -0.8745713 |
nitrate | global | (28.2,28.3] | -0.9724433 | -0.9733892 | -0.9714975 |
nitrate | global | (28.3,28.4] | -0.6356811 | -0.7973523 | -0.4740099 |
nitrate | global | (28.4, Inf] | -0.3051650 | -0.3118963 | -0.2984337 |
oxygen | global | (-Inf,26] | 0.4285689 | 0.3549568 | 0.5021811 |
oxygen | global | (26,26.5] | 0.5561769 | 0.5209810 | 0.5913729 |
oxygen | global | (26.5,26.75] | 0.5322063 | 0.4724906 | 0.5919220 |
oxygen | global | (26.75,27] | 0.4132151 | 0.3853147 | 0.4411155 |
oxygen | global | (27,27.25] | 0.1219397 | 0.1086040 | 0.1352755 |
oxygen | global | (27.25,27.5] | -0.0138133 | -0.0468029 | 0.0191763 |
oxygen | global | (27.5,27.75] | 0.0643041 | -0.0189452 | 0.1475535 |
oxygen | global | (27.75,27.85] | 0.3777311 | 0.3381011 | 0.4173611 |
oxygen | global | (27.85,27.95] | 0.5545450 | 0.5231231 | 0.5859668 |
oxygen | global | (27.95,28.05] | 0.6201122 | 0.5879604 | 0.6522640 |
oxygen | global | (28.05,28.1] | 0.7414407 | 0.7224301 | 0.7604514 |
oxygen | global | (28.1,28.2] | 0.7554124 | 0.7276928 | 0.7831321 |
oxygen | global | (28.2,28.3] | 0.8887097 | 0.8798606 | 0.8975588 |
oxygen | global | (28.3,28.4] | -0.0844333 | -0.3524474 | 0.1835809 |
oxygen | global | (28.4, Inf] | 0.0658281 | -0.1933328 | 0.3249889 |
phosphate | global | (-Inf,26] | -0.4383112 | -0.5068705 | -0.3697520 |
phosphate | global | (26,26.5] | -0.8869415 | -0.9059455 | -0.8679376 |
phosphate | global | (26.5,26.75] | -0.9019660 | -0.9214672 | -0.8824648 |
phosphate | global | (26.75,27] | -0.8353919 | -0.8429077 | -0.8278762 |
phosphate | global | (27,27.25] | -0.6260291 | -0.6284740 | -0.6235842 |
phosphate | global | (27.25,27.5] | -0.4861602 | -0.5123930 | -0.4599274 |
phosphate | global | (27.5,27.75] | -0.5096276 | -0.5819354 | -0.4373198 |
phosphate | global | (27.75,27.85] | -0.6779420 | -0.7130359 | -0.6428480 |
phosphate | global | (27.85,27.95] | -0.7623585 | -0.7904954 | -0.7342215 |
phosphate | global | (27.95,28.05] | -0.8017002 | -0.8284724 | -0.7749280 |
phosphate | global | (28.05,28.1] | -0.8581430 | -0.8746114 | -0.8416746 |
phosphate | global | (28.1,28.2] | -0.8873745 | -0.9007626 | -0.8739864 |
phosphate | global | (28.2,28.3] | -0.9790434 | -0.9792135 | -0.9788732 |
phosphate | global | (28.3,28.4] | -0.7643807 | -0.8143274 | -0.7144339 |
phosphate | global | (28.4, Inf] | -0.5359536 | -0.5509963 | -0.5209109 |
sal | global | (-Inf,26] | 0.2643093 | 0.2161448 | 0.3124739 |
sal | global | (26,26.5] | 0.7961437 | 0.7904298 | 0.8018577 |
sal | global | (26.5,26.75] | 0.8296607 | 0.8239053 | 0.8354162 |
sal | global | (26.75,27] | 0.8315753 | 0.8054840 | 0.8576666 |
sal | global | (27,27.25] | 0.7786397 | 0.7599114 | 0.7973680 |
sal | global | (27.25,27.5] | 0.6804002 | 0.6664175 | 0.6943830 |
sal | global | (27.5,27.75] | 0.6953983 | 0.6735615 | 0.7172352 |
sal | global | (27.75,27.85] | 0.7327181 | 0.7154957 | 0.7499406 |
sal | global | (27.85,27.95] | 0.7645218 | 0.7506137 | 0.7784299 |
sal | global | (27.95,28.05] | 0.8140603 | 0.8048970 | 0.8232236 |
sal | global | (28.05,28.1] | 0.8580784 | 0.8506252 | 0.8655317 |
sal | global | (28.1,28.2] | 0.8537912 | 0.8506762 | 0.8569063 |
sal | global | (28.2,28.3] | 0.9343984 | 0.9299937 | 0.9388031 |
sal | global | (28.3,28.4] | 0.4764180 | 0.3758032 | 0.5770327 |
sal | global | (28.4, Inf] | 0.2299366 | -0.0050370 | 0.4649102 |
silicate | global | (-Inf,26] | -0.3643568 | -0.4542471 | -0.2744665 |
silicate | global | (26,26.5] | -0.7866803 | -0.7961863 | -0.7771744 |
silicate | global | (26.5,26.75] | -0.7865029 | -0.7900039 | -0.7830019 |
silicate | global | (26.75,27] | -0.6452257 | -0.6463840 | -0.6440674 |
silicate | global | (27,27.25] | -0.2845805 | -0.3001253 | -0.2690357 |
silicate | global | (27.25,27.5] | -0.0792678 | -0.1099867 | -0.0485489 |
silicate | global | (27.5,27.75] | -0.1532827 | -0.2398983 | -0.0666671 |
silicate | global | (27.75,27.85] | -0.4572494 | -0.5091394 | -0.4053594 |
silicate | global | (27.85,27.95] | -0.6124484 | -0.6568095 | -0.5680873 |
silicate | global | (27.95,28.05] | -0.6857381 | -0.7234175 | -0.6480586 |
silicate | global | (28.05,28.1] | -0.7647362 | -0.7876256 | -0.7418469 |
silicate | global | (28.1,28.2] | -0.8243474 | -0.8426439 | -0.8060510 |
silicate | global | (28.2,28.3] | -0.9462627 | -0.9507600 | -0.9417653 |
silicate | global | (28.3,28.4] | -0.3398734 | -0.5280729 | -0.1516739 |
silicate | global | (28.4, Inf] | -0.1835484 | -0.2358528 | -0.1312441 |
temp | global | (-Inf,26] | -0.1826355 | -0.2250684 | -0.1402025 |
temp | global | (26,26.5] | 0.7813720 | 0.7793370 | 0.7834070 |
temp | global | (26.5,26.75] | 0.8167618 | 0.8084706 | 0.8250531 |
temp | global | (26.75,27] | 0.8090451 | 0.7840287 | 0.8340614 |
temp | global | (27,27.25] | 0.7342480 | 0.7155098 | 0.7529862 |
temp | global | (27.25,27.5] | 0.6189842 | 0.6115807 | 0.6263878 |
temp | global | (27.5,27.75] | 0.6137623 | 0.5823527 | 0.6451720 |
temp | global | (27.75,27.85] | 0.7028612 | 0.6746240 | 0.7310983 |
temp | global | (27.85,27.95] | 0.7126162 | 0.7061857 | 0.7190468 |
temp | global | (27.95,28.05] | 0.7393549 | 0.7392513 | 0.7394585 |
temp | global | (28.05,28.1] | 0.8026031 | 0.7943306 | 0.8108756 |
temp | global | (28.1,28.2] | 0.5850626 | 0.4534256 | 0.7166996 |
temp | global | (28.2,28.3] | 0.0347063 | 0.0042467 | 0.0651660 |
temp | global | (28.3,28.4] | 0.2329742 | 0.0215816 | 0.4443667 |
temp | global | (28.4, Inf] | -0.0605065 | -0.2601759 | 0.1391629 |
rm(cor_target_predictor, cor_target_predictor_stats)
sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: openSUSE Leap 15.2
Matrix products: default
BLAS: /usr/local/R-4.0.3/lib64/R/lib/libRblas.so
LAPACK: /usr/local/R-4.0.3/lib64/R/lib/libRlapack.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] corrr_0.4.3 broom_0.7.5 kableExtra_1.3.1 knitr_1.30
[5] olsrr_0.5.3 GGally_2.0.0 lubridate_1.7.9 ggforce_0.3.3
[9] metR_0.9.0 scico_1.2.0 patchwork_1.1.1 collapse_1.5.0
[13] forcats_0.5.0 stringr_1.4.0 dplyr_1.0.5 purrr_0.3.4
[17] readr_1.4.0 tidyr_1.1.2 tibble_3.0.4 ggplot2_3.3.3
[21] tidyverse_1.3.0 workflowr_1.6.2
loaded via a namespace (and not attached):
[1] fs_1.5.0 webshot_0.5.2 RColorBrewer_1.1-2
[4] httr_1.4.2 rprojroot_2.0.2 tools_4.0.3
[7] backports_1.1.10 R6_2.5.0 nortest_1.0-4
[10] DBI_1.1.0 colorspace_1.4-1 withr_2.3.0
[13] gridExtra_2.3 tidyselect_1.1.0 curl_4.3
[16] compiler_4.0.3 git2r_0.27.1 cli_2.1.0
[19] rvest_0.3.6 xml2_1.3.2 labeling_0.4.2
[22] scales_1.1.1 checkmate_2.0.0 goftest_1.2-2
[25] digest_0.6.27 foreign_0.8-80 rmarkdown_2.5
[28] rio_0.5.16 pkgconfig_2.0.3 htmltools_0.5.0
[31] highr_0.8 dbplyr_1.4.4 rlang_0.4.10
[34] readxl_1.3.1 rstudioapi_0.11 farver_2.0.3
[37] generics_0.0.2 jsonlite_1.7.1 zip_2.1.1
[40] car_3.0-10 magrittr_1.5 Matrix_1.2-18
[43] Rcpp_1.0.5 munsell_0.5.0 fansi_0.4.1
[46] abind_1.4-5 lifecycle_1.0.0 stringi_1.5.3
[49] whisker_0.4 yaml_2.2.1 carData_3.0-4
[52] MASS_7.3-53 plyr_1.8.6 grid_4.0.3
[55] blob_1.2.1 parallel_4.0.3 promises_1.1.1
[58] crayon_1.3.4 lattice_0.20-41 haven_2.3.1
[61] hms_0.5.3 pillar_1.4.7 reprex_0.3.0
[64] glue_1.4.2 evaluate_0.14 RcppArmadillo_0.10.1.2.0
[67] data.table_1.13.2 modelr_0.1.8 vctrs_0.3.5
[70] tweenr_1.0.2 httpuv_1.5.4 cellranger_1.1.0
[73] gtable_0.3.0 polyclip_1.10-0 reshape_0.8.8
[76] assertthat_0.2.1 openxlsx_4.2.3 xfun_0.18
[79] RcppEigen_0.3.3.7.0 later_1.1.0.1 viridisLite_0.3.0
[82] ellipsis_0.3.1 here_0.1