Learn R Programming

IsoplotR

IsoplotR is a free and open-source substitute for Kenneth Ludwig's popular Isoplot add-in to Microsoft Excel. This Github repository contains the code for IsoplotR's core commands. A graphical user interface is provided in a separate repository at https://github.com/pvermees/IsoplotRgui.

Installation

You must have R installed on your system (see https://www.r-project.org/). The most recent stable version of IsoplotR is available from CRAN at https://cran.r-project.org/package=IsoplotR and can be installed on your system as follows:

install.packages('IsoplotR')

Alternatively, the current development version of IsoplotR can be installed from Github with the remotes package:

install.packages('remotes')
remotes::install_github('pvermees/IsoplotR')

Example

Once installed, IsoplotR can be loaded into memory by entering the following code at the R command prompt:

library(IsoplotR)

Now we can issue IsoplotR commands to R. For example:

setwd(system.file(package='IsoplotR')) # navigate to the built-in data files
RbSr <- read.data('RbSr1.csv',method='Rb-Sr',format=1)  
isochron(RbSr)

Further information

See https://isoplotr.london-geochron.com

Vermeesch, P., 2018, IsoplotR: a free and open toolbox for geochronology. Geoscience Frontiers, v.9, p.1479-1493, doi: 10.1016/j.gsf.2018.04.001.

Author

Pieter Vermeesch

License

This project is licensed under the GPL-3 License

Copy Link

Version

Install

install.packages('IsoplotR')

Monthly Downloads

976

Version

6.5

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Pieter Vermeesch

Last Published

February 13th, 2025

Functions in IsoplotR (6.5)

IsoplotR

library(IsoplotR)
central

Fits random effects models to overdispersed datasets
agespectrum

Plot a (40Ar/39Ar) release spectrum
Pb0corr

Common Pb correction
classes

Geochronological data classes
ci

Confidence intervals
age2ratio

Predict isotopic ratios from ages
cad

Plot continuous data as cumulative age distributions
age

Calculate isotopic ages
concordia

Concordia diagram
data2york

Prepare geochronological data for York regression
discfilter

Set up a discordance filter
evolution

Th-U evolution diagram
kde

Create (a) kernel density estimate(s)
diseq

Set up U-series disequilibrium correction for U-Pb geochronology
diss

Dissimilarity between detrital age distributions
examples

Example datasets for testing IsoplotR
helioplot

Visualise U-Th-He data on a logratio plot or ternary diagram
isochron

Calculate and plot isochrons
ellipse

Get error ellipse coordinates for plotting
set.zeta

Calculate the zeta calibration coefficient for fission track dating
read.data

Read geochronological data
mclean

Predict disequilibrium concordia_compositions
peakfit

Finite mixture modelling of geochronological datasets
ludwig

Linear regression of U-Pb data with correlated errors, taking into account decay constant uncertainties.
scatterplot

Create a scatter plot with error ellipses or crosses
mds

Multidimensional Scaling
ogls

Omnivariant Generalised Least-Squares Regression
settings

Retrieve and record global settings
radialplot

Visualise heteroscedastic data on a radial plot
york

Linear regression of X,Y-variables with correlated errors
titterington

Linear regression of X,Y,Z-variables with correlated errors
weightedmean

Calculate the weighted mean age