https://github.com/alexlipp/weathering-and-provenance

Data and R scripts for the publication "Major-element composition of sediments in terms of weathering and provenance: implications for crustal recycling"

https://github.com/alexlipp/weathering-and-provenance

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.1%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Data and R scripts for the publication "Major-element composition of sediments in terms of weathering and provenance: implications for crustal recycling"

Basic Info
  • Host: GitHub
  • Owner: AlexLipp
  • License: mit
  • Language: HTML
  • Default Branch: master
  • Size: 1.2 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created almost 7 years ago · Last pushed over 4 years ago

https://github.com/AlexLipp/weathering-and-provenance/blob/master/

# Sedimentary compositions in terms of weathering and provenance 

Data and `R` scripts utilised in the publication *"Major-element composition of sediments in terms of weathering and provenance: implications for crustal recycling"*.

[![DOI](https://zenodo.org/badge/209641394.svg)](https://zenodo.org/badge/latestdoi/209641394)

## Code

The document `data_analysis.html` is an [R-markdown document](https://rmarkdown.rstudio.com/) containing code examples to recreate the analysis described in the paper. This file can be viewed in any browser. 
The same document is also given in the raw `.Rmd` form, which can be opened in [R-studio](https://www.rstudio.com/).

This document demonstrates in `R` the application of principal component analysis on the dataset of sedimentary rock major element compositions, and the projection of other datasets onto these components. 

It also contains a function written in `R` which calculates the coefficients  and  for any major elemental composition (`find_coefficients`) as well as functions to calculate the model residuals (`find_residuals`) and the fitted values (`find_fit`). 

The scripts require `R` v3.6.1

## Data

Data used in the publication is contained in the folder `data/`. References for data sources is found in `data_references.pdf`, alongside the data. 


Owner

  • Name: Alex Lipp
  • Login: AlexLipp
  • Kind: user
  • Location: Oxford, UK
  • Company: Merton College, Oxford

Earth & Environmental Scientist at the University of Oxford

GitHub Events

Total
Last Year