Learn R Programming

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

provenance (version 1.3)

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.3

License

GPL-2

Maintainer

Pieter Vermeesch

Last Published

February 12th, 2016

Functions in provenance (1.3)

plot.compositional

Plot a pie chart
bray.diss

Bray-Curtis dissimilarity
subset.distributional

Get a subset of distributional data
GPA

Generalised Procrustes Analysis of configurations
read.distributional

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

A list of rock and mineral densities
KDE

Create a kernel density estimate
PCA

Principal Component Analysis
plot.INDSCAL

Plot an INDSCAL group configuration and source weights
botev

Compute the optimal kernel bandwidth
summaryplot

Joint plot of several provenance datasets
KDEs

Generate an object of class KDEs
plot.KDE

Plot a kernel density estimate
MDS

Multidimensional Scaling
get.f

Calculate the largest fraction that is likely to be missed
procrustes

Generalised Procrustes Analysis of provenance data
subset.compositional

Get a subset of compositional data
CLR

Centred logratio transformation
plot.MDS

Plot an MDS configuration
get.n

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

Menu-based interface for provenance
read.compositional

Read a .csv file with categorical data
endmembers

Petrographic end-member compositions
minsorting

Assess settling equivalence of detrital components
Namib

An example dataset
read.densities

Read a .csv file with mineral and rock densities
get.p

Calculate the probability of missing a given population fraction
amalgamate

Group components of a composition
indscal

Individual Differences Scaling of provenance data
as.compositional

create a compositional object
as.data.frame.compositional

create a data.frame object
plot.GPA

Plot a Procrustes configuration
plot.distributional

Plot continuous data as histograms or cumulative age distributions
SH.diss

Sircombe and Hazelton distance
plot.ternary

Plot a ternary diagram
combine

Combine samples of distributional data
as.acomp

create an acomp object
diss

Calculate the dissimilarity matrix between two distributional or compositional datasets
ternary

Define a ternary composition
plot.minsorting

Plot inferred grain size distributions
KS.diss

Kolmogorov-Smirnov dissimilarity
restore

Undo the effect of hydraulic sorting
plot.PCA

Compositional biplot