Learn R Programming

⚠️There's a newer version (4.4) of this package.Take me there.

provenance (version 1.5)

Statistical Toolbox for Sedimentary Provenance Analysis

Description

Bundles a number of established statistical methods to facilitate the visual interpretation of large datasets in sedimentary geology. Includes functionality for adaptive kernel density estimation, multidimensional scaling, generalised procrustes analysis and individual differences scaling using a variety of dissimilarity measures. Univariate provenance proxies, such as single-grain ages or (isotopic) compositions are compared with the Kolmogorov- Smirnov dissimilarity and Sircombe-Hazelton L2-norm. Categorical provenance proxies, such as mineralogical, petrographic or chemical compositions are compared with the Aitchison and Bray-Curtis distances. Also included are tools to plot compositional data on ternary diagrams, to calculate the sample size required for specified levels of statistical precision, and to assess the effects of hydraulic sorting on detrital compositions. Includes an intuitive query-based user interface for users who are not proficient in R.

Copy Link

Version

Install

install.packages('provenance')

Monthly Downloads

207

Version

1.5

License

GPL-2

Maintainer

Pieter Vermeesch

Last Published

April 22nd, 2016

Functions in provenance (1.5)

plot.KDE

Plot a kernel density estimate
bray.diss

Bray-Curtis dissimilarity
restore

Undo the effect of hydraulic sorting
botev

Compute the optimal kernel bandwidth
provenance

Menu-based interface for provenance
GPA

Generalised Procrustes Analysis of configurations
read.compositional

Read a .csv file with categorical data
MDS

Multidimensional Scaling
as.data.frame.compositional

create a data.frame object
plot.distributional

Plot continuous data as histograms or cumulative age distributions
plot.INDSCAL

Plot an INDSCAL group configuration and source weights
KDE

Create a kernel density estimate
Namib

An example dataset
plot.minsorting

Plot inferred grain size distributions
diss

Calculate the dissimilarity matrix between two distributional or compositional datasets
get.n

Calculate the number of grains required to achieve a desired level of sampling resolution
CLR

Centred logratio transformation
get.f

Calculate the largest fraction that is likely to be missed
PCA

Principal Component Analysis
ternary

Define a ternary composition
SH.diss

Sircombe and Hazelton distance
read.distributional

Read a .csv file with continuous (detrital zircon) data
read.densities

Read a .csv file with mineral and rock densities
as.compositional

create a compositional object
KS.diss

Kolmogorov-Smirnov dissimilarity
amalgamate

Group components of a composition
plot.GPA

Plot a Procrustes configuration
subset.distributional

Get a subset of distributional data
KDEs

Generate an object of class KDEs
combine

Combine samples of distributional data
get.p

Calculate the probability of missing a given population fraction
plot.ternary

Plot a ternary diagram
indscal

Individual Differences Scaling of provenance data
procrustes

Generalised Procrustes Analysis of provenance data
as.acomp

create an acomp object
plot.compositional

Plot a pie chart
densities

A list of rock and mineral densities
plot.MDS

Plot an MDS configuration
subset.compositional

Get a subset of compositional data
plot.PCA

Compositional biplot
summaryplot

Joint plot of several provenance datasets
minsorting

Assess settling equivalence of detrital components
endmembers

Petrographic end-member compositions