Learn R Programming

geostats (version 1.6)

An Introduction to Statistics for Geoscientists

Description

A collection of datasets and simplified functions for an introductory (geo)statistics module at University College London. Provides functionality for compositional, directional and spatial data, including ternary diagrams, Wulff and Schmidt stereonets, and ordinary kriging interpolation. Implements logistic and (additive and centred) logratio transformations. Computes vector averages and concentration parameters for the von-Mises distribution. Includes a collection of natural and synthetic fractals, and a simulator for deterministic chaos using a magnetic pendulum example. The main purpose of these functions is pedagogical. Researchers can find more complete alternatives for these tools in other packages such as 'compositions', 'robCompositions', 'sp', 'gstat' and 'RFOC'. All the functions are written in plain R, with no compiled code and a minimal number of dependencies. Theoretical background and worked examples are available at .

Copy Link

Version

Install

install.packages('geostats')

Monthly Downloads

422

Version

1.6

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Pieter Vermeesch

Last Published

January 7th, 2023

Functions in geostats (1.6)

alr

additive logratio transformation
PCA2D

Principal Component Analysis of 2D data
boxcount

box counting
catchments

properties of 20 river catchments
circle.plot

plot circular data
clr

centred logratio transformation
cantor

Cantor set
circle.points

add points to a circular plot
countQuakes

count the number of earthquakes per year
declustered

declustered earthquake data
exp

exponential transformation
colourplot

colour plot
geostats

library(geostats)
fractures

fractures
fault

fault orientation data
gutenberg

create a Gutenberg-Richter plot
hills

hills
palaeomag

palaeomagnetic data
meuse

Meuse river data set
fractaldim

calculate the fractal dimension
forams

foram count data
ksdist

Kolmogorov-Smirnov distance matrix
pendulum

3-magnet pendulum experiment
pebbles

pebble orientations
sizefrequency

calculate the size-frequency distribution of things
vonMises

von Mises distribution
sierpinski

Sierpinski carpet
worldpop

world population
meanangle

mean angle
major

composition of Namib dune sand
skew

calculate the skewness of a dataset
stereonet

stereonet
randy

generate bivariate random data
rbsr

Rb-Sr data
semivariogram

semivariogram
test

composition of a further 147 oceanic basalts
rwyxz

Spurious correlation
logit

logistic transformation
ternary

ternary diagrams
striations

directions of glacial striations
training

composition of 646 oceanic basalts
koch

Koch snowflake
ellipse

ellipse
earthquakes

earthquake data
xyz2xy

get x,y plot coordinates of ternary data
kriging

kriging
york

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

detrital zircon U-Pb data
Mode

get the mode of a dataset
Rbar

calculate \(\bar{R}\)
Rbar2kappa

\(\bar{R}\) to \(\kappa\) conversion
FAM

A-F-M data
ACNK

A-CN-K compositions
Britain

British coast
Finland

Finnish lake data
Corsica

rivers on Corsica