Learn R Programming

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

StratigrapheR (version 1.0.0)

Integrated Stratigraphy

Description

Includes bases for litholog generation: graphical functions based on R base graphics, interval management functions and svg importation functions among others. Also include stereographic projection functions, and other functions made to deal with large datasets while keeping options to get into the details of the data. When using for publication please cite Wouters, S., Da Silva, A.C. Crucifix, M., Sinnesael, M., Zivanovic, M., Boulvain, F., Devleeschouwer, X., 2019, Litholog generation with the StratigrapheR package and signal decomposition for cyclostratigraphic purposes. Geophysical Research Abstracts Vol. 21, EGU2019-5520, 2019, EGU General Assembly 2019. The palaeomagnetism functions are based on: Tauxe, L., 2010. Essentials of Paleomagnetism. University of California Press. ; Allmendinger, R. W., Cardozo, N. C., and Fisher, D., 2013, Structural Geology Algorithms: Vectors & Tensors: Cambridge, England, Cambridge University Press, 289 pp.; Cardozo, N., and Allmendinger, R. W., 2013, Spherical projections with OSXStereonet: Computers & Geosciences, v. 51, no. 0, p. 193 - 205, .

Copy Link

Version

Install

install.packages('StratigrapheR')

Monthly Downloads

461

Version

1.0.0

License

GPL-3

Maintainer

Sebastien Wouters

Last Published

February 26th, 2020

Functions in StratigrapheR (1.0.0)

casing

Finds values in a vector directly above and below a number
convert

Converts x values having an index into n values defined by the same y index
bedtext

Writes the names of the beds in a litholog
as.lim

Create / Check / Manipulate lim objects
blackSet

Sets the plot environment to draw a long vertical data set
changesvg

Changes a pointsvg object
StratigrapheR

StratigrapheR: integrated stratigraphy for R
clipsvg

Clips a standardised pointsvg object into a given frame
centresvg

Draws a pointsvg object around a given point
StratigrapheR.examples

Data for examples
divisor

Greatest Common Rational Divisor
incfix

Fix Inclination
formFunction

Converts a formula into a function
earplanes

Draws planes on an equal area stereonet
enlarge

Expands the TRUE values of a T/F vector to their nth neighbours
convertAxis

Converts the axis following a given formula
folder

Creates a new folder where wanted if it does not exist yet
in.lim

Finds the intervals encompassing values
earnet

Draws an equal area stereonet
every_nth

Suppresses every n th element of a vector
encircle

Draws circles
flip.lim

Inverts the intervals
earinc

Recalculates inclination in equal area projection
dipfix

Fix Dip
fmean

Fischer mean
fmod

Universal remainder function
minorAxis

Adds an axis with minor ticks to a plot
greySet

Sets the plot environment to draw a long vertical data set
earpoints

Draws points on an equal area stereonet
encase

Encases two numbers between multiples of a given number
framesvg

Draws a standardised pointsvg object into a given frame
merge_list

Method for merging lists by name
minorAxisTicks

Compute Pretty Minor Axis Tick Scales
mid.lim

Provides mid-points intervals in an ordered vector
pdfDisplay

Generates PDF and SVG figures
nlegend

New legend element
repitch

Converts pitch into declination and inclination
homogenise

Homogenise a list
placesvg

Draws a pointsvg object
infobar

Draws rectangles with text in them
weld

Combines segments with "litholog()"-like data frame
planepoints

Describes planes by points
shift

Circular shift
weldlog

Changes boundaries segments in basic lithologs
tie.lim

Discretises lim objects
seq_mult

Sequence ordered by multiple
reposition

Core correction
transphere

Convertion between declinaison/inclination/intensity and cartesian coordinates
pointsvg

Converts line, rect, polygon and polyline class SVG objects into data frames
ignore

Ignores useless objects
leftlog

Finds bed intervals in a "litholog()"-like data frame
multilines

Draws several lines
zijderveld

Draws a Zijderveld plot
rmatrix

Rotation matrix
multigons

Draws several polygons
restore

Plane correction
mat.lag

Find the "next" or "previous" values in a matrix.
litholog

Creates a litholog
neatPick

Interactive user modification of the arguments of a repeated function
neatPicked

Runs neatPick without user input
rotate

Spherical rotation around fixed axes
seq_log

Gives the repartition of values for a log 10 scale between a given interval
rebound

Simplifies boundary indicators for lim objects
sinpoint

Gives a table of equally sampled points following a sinusoidal function
simp.lim

Joins and orders adjacent or overlapping lim objects of same ID
ylink

Draws connection lines to connect two points in y
whiteSet

Sets the plot environment to draw a long data set