knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The isoToolsR package provides basic convenience functions for converting among stable isotope measures such as atom fractions, isotope ratios, and delta values.
Install this package from GitHub with:
# install.packages("devtools") devtools::install_github("elizabethjmohr/isoToolsR")
Here is a basic example which shows you how to convert an isotope ratio to a delta value :
library(isoToolsR) RstN <- 0.003678 # Standard isotope ratio for N RSamp <- 0.1 # Isotope ratio of sample RToDelta(RSamp, RstN) # Returns delta value (permil)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.