Exploratory data analysis of Sediments from the Dead Sea

Note
Most R code not shown, and also not much HTML code produced, on purpose. If you have access to the .Rmd file that produced this web page, then execute the R code chunks interactively inside the R console.

Sites 1, 2, 3

Offshore Sites 1, Holes A-E, and Site 3, Hole 3C are close together. Site 2 is at the shore.

ICDP Poject from 2012. Data from Source: https://data.icdp-online.org/sites/deadsea/internal/5017_DSDDP-ALL.xlsx

For some more visual analysis, see the .Rmd files with MSCL visualisations, for instance deadsea-xrfdata–load-from-RData–plot–histograms.Rmd in this directory.

Preprocessing

  • Import some helper functions.

  • Determine name of infile

  • Import infile, the .RData file /home/knb/code/svn/eclipse43_jee/R_xrfdata/data/deadsea-dsdp--mscl-data-icdp.20171212.RData containing the data, but only if not already imported just before.

  • Extract common features of all plots in this file into a function. (Code not shown)

Smoothing

  • Smoothen the lines by applying a window function with this width: 3

The smoothing happens in the big for-loop below, in the roll_mean() call.

Measured Parameters

## [1] "CORE_DEPTH" "MAG_SUS"

Only Magnetic Susceptibility MAGSUS has been measured by the Science team (although the MSCL Core logger is capable of other measuring other physical properties).

Generate PDF/PNG plots for Sites 1, 2 and 3

This big loop extracts all data from the big mscl_dfs_gathered dataframe, and generates a lot of lineplots. It optionally saves the lineplots to PDF files in the current directory.

(Will overwrite existing plots. Save the plots you want to keep, perhaps by moving them into the data subdirectory).