Learn R Programming

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

StratigrapheR (version 1.0.1)

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

381

Version

1.0.1

License

GPL-3

Maintainer

Sebastien Wouters

Last Published

March 20th, 2020

Functions in StratigrapheR (1.0.1)

centresvg

Draws a pointsvg object around a given point
convert

Converts x values having an index into n values defined by the same y index
StratigrapheR.examples

Data for examples
blackSet

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

Finds values in a vector directly above and below a number
as.lim

Create / Check / Manipulate lim objects
changesvg

Changes a pointsvg object
StratigrapheR

StratigrapheR: integrated stratigraphy for R
clipsvg

Clips a standardised pointsvg object into a given frame
bedtext

Writes the names of the beds in a litholog
divisor

Greatest Common Rational Divisor
encircle

Draws circles
fmod

Universal remainder function
fmean

Fischer mean
earpoints

Draws points on an equal area stereonet
encase

Encases two numbers between multiples of a given number
leftlog

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

New legend element
infobar

Draws rectangles with text in them
pdfDisplay

Generates PDF and SVG figures
earnet

Draws an equal area stereonet
enlarge

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

Homogenise a list
earplanes

Draws planes on an equal area stereonet
ignore

Ignores useless objects
folder

Creates a new folder where wanted if it does not exist yet
formFunction

Converts a formula into a function
merge_list

Method for merging lists by name
earinc

Recalculates inclination in equal area projection
framesvg

Draws a standardised pointsvg object into a given frame
greySet

Sets the plot environment to draw a long vertical data set
mid.lim

Provides mid-points intervals in an ordered vector
sinpoint

Gives a table of equally sampled points following a sinusoidal function
pointsvg

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

Simplifies boundary indicators for lim objects
simp.lim

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

Fix Inclination
in.lim

Finds the intervals encompassing values
placesvg

Draws a pointsvg object
repitch

Converts pitch into declination and inclination
minorAxis

Adds an axis with minor ticks to a plot
tie.lim

Discretises lim objects
reposition

Core correction
seq_mult

Sequence ordered by multiple
multigons

Draws several polygons
shift

Circular shift
transphere

Convertion between declinaison/inclination/intensity and cartesian coordinates
minorAxisTicks

Compute Pretty Minor Axis Tick Scales
multilines

Draws several lines
zijderveld

Draws a Zijderveld plot
convertAxis

Converts the axis following a given formula
dipfix

Fix Dip
flip.lim

Inverts the intervals
litholog

Creates a litholog
every_nth

Suppresses every n th element of a vector
planepoints

Describes planes by points
rotate

Spherical rotation around fixed axes
weld

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

Changes boundaries segments in basic lithologs
seq_log

Gives the repartition of values for a log 10 scale between a given interval
mat.lag

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

Interactive user modification of the arguments of a repeated function
neatPicked

Runs neatPick without user input
restore

Plane correction
rmatrix

Rotation matrix
whiteSet

Sets the plot environment to draw a long data set
ylink

Draws connection lines to connect two points in y