Learn R Programming

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

StratigrapheR (version 0.0.2)

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

0.0.2

License

GPL-3

Maintainer

Sebastien Wouters

Last Published

March 11th, 2019

Functions in StratigrapheR (0.0.2)

clipsvg

Clips a standardised pointsvg object into a given frame
changesvg

Changes a pointsvg object
every_nth

Suppresses every n th element of a vector
leftlog

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

Finds the intervals encompassing values
enlarge

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

Fix Inclination
nlegend

New legend element
earpoints

Draws points on an equal area stereonet
fastPairs

Scatterplot Matrices for large dataset
convert

Converts x values having an index into n values defined by the same y index
flip.lim

Inverts the intervals
encircle

Draws circles
encase

Encases two numbers between multiples of a given number
merge_list

Method for merging lists by name
StratigrapheR

StratigrapheR: integrated stratigraphy for R
mid.lim

Provides mid-points intervals in an ordered vector
earinc

Recalculates inclination in equal area projection
infobar

Draws rectangles with text in them
earnet

Draws an equal area stereonet
restore

Plane correction
tie.lim

Discretises lim objects
convertAxis

Converts the axis following a given formula
shift

Circular shift
transphere

Convertion between declinaison/inclination/intensity and cartesian coordinates
StratigrapheR.examples

Data for examples
minorAxis

Adds an axis with minor ticks to a plot
multigons

Draws several polygons
rmatrix

Rotation matrix
neatPicked

Runs neatPick without user input
pointsvg

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

Describes planes by points
repitch

Converts pitch into declination and inclination
bedtext

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

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

Fix Dip
earplanes

Draws planes on an equal area stereonet
zijderveld

Draws a Zijderveld plot
multilines

Draws several lines
fmod

Universal remainder function
sinpoint

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

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

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

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

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

Creates a litholog
mat.lag

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

Generates PDF and SVG figures
whiteSet

Sets the plot environment to draw a long data set
ignore

Ignores useless objects
neatPick

Interactive user modification of the arguments of a repeated function
placesvg

Draws a pointsvg object
rebound

Simplifies boundary indicators for lim objects
weldlog

Changes boundaries segments in basic lithologs
rotate

Spherical rotation around fixed axes
ylink

Draws connection lines to connect two points in y
centresvg

Draws a pointsvg object around a given point
casing

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

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

Creates / Checks / Manipulates lim objects
formFunction

Converts a formula into a function
framesvg

Draws a standardised pointsvg object into a given frame
reposition

Core correction