Package: geostats 1.6

geostats: An Introduction to Statistics for Geoscientists

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 <https://tinyurl.com/UCLgeostats/>.

Authors:Pieter Vermeesch [aut, cre]

geostats_1.6.tar.gz
geostats_1.6.zip(r-4.5)geostats_1.6.zip(r-4.4)geostats_1.6.zip(r-4.3)
geostats_1.6.tgz(r-4.4-any)geostats_1.6.tgz(r-4.3-any)
geostats_1.6.tar.gz(r-4.5-noble)geostats_1.6.tar.gz(r-4.4-noble)
geostats_1.6.tgz(r-4.4-emscripten)geostats_1.6.tgz(r-4.3-emscripten)
geostats.pdf |geostats.html
geostats/json (API)

# Install 'geostats' in R:
install.packages('geostats', repos = c('https://pvermees.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/pvermees/geostats/issues

Datasets:

On CRAN:

1.58 score 38 scripts 320 downloads 34 exports 0 dependencies

Last updated 2 years agofrom:18f66dc9e2. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 18 2024
R-4.5-winOKOct 18 2024
R-4.5-linuxOKOct 18 2024
R-4.4-winOKOct 18 2024
R-4.4-macOKOct 18 2024
R-4.3-winOKOct 18 2024
R-4.3-macOKOct 18 2024

Exports:alrboxcountcantorcircle.plotcircle.pointsclrcolourplotcountQuakesellipsefractaldimgutenbergkochkrigingksdistlogitmeanangleModePCA2DpendulumrandyRbarRbar2kapparwyxzrxzyzryxysemivariogramsierpinskisizefrequencyskewstereonetternaryvonMisesxyz2xyyork

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
A-CN-K compositionsACNK
additive logratio transformationalr
box countingboxcount
British coastBritain
Cantor setcantor
properties of 20 river catchmentscatchments
plot circular datacircle.plot
add points to a circular plotcircle.points
centred logratio transformationclr
colour plotcolourplot
rivers on CorsicaCorsica
count the number of earthquakes per yearcountQuakes
declustered earthquake datadeclustered
detrital zircon U-Pb dataDZ
earthquake dataearthquakes
ellipseellipse
exponential transformationexp exp.density
A-F-M dataFAM
fault orientation datafault
Finnish lake dataFinland
foram count dataforams
calculate the fractal dimensionfractaldim
fracturesfractures
library(geostats)geostats-package geostats _PACKAGE
create a Gutenberg-Richter plotgutenberg
hillshills
Koch snowflakekoch
krigingkriging
Kolmogorov-Smirnov distance matrixksdist
logistic transformationlogit logit.default logit.density
composition of Namib dune sandmajor
mean anglemeanangle
Meuse river data setmeuse
get the mode of a datasetMode
palaeomagnetic datapalaeomag
Principal Component Analysis of 2D dataPCA2D
pebble orientationspebbles
3-magnet pendulum experimentpendulum
generate bivariate random datarandy
calculate \bar{R}Rbar
\bar{R} to kappa conversionRbar2kappa
Rb-Sr datarbsr
Spurious correlationrwyxz rxzyz ryxy
semivariogramsemivariogram
Sierpinski carpetsierpinski
calculate the size-frequency distribution of thingssizefrequency
calculate the skewness of a datasetskew
stereonetstereonet
directions of glacial striationsstriations
ternary diagramsternary
composition of a further 147 oceanic basaltstest
composition of 646 oceanic basaltstraining
von Mises distributionvonMises
world populationworldpop
get x,y plot coordinates of ternary dataxyz2xy
Linear regression of X,Y-variables with correlated errorsyork