Learn R Programming

StratigrapheR

Integrated Straigraphy for R "# StratigrapheR"

Run the following code to import the package (devtools package necessary):

devtools::install_github("sewouter/StratigrapheR")

To import devtools:

install.packages("devtools")

Copy Link

Version

Install

install.packages('StratigrapheR')

Monthly Downloads

461

Version

1.3.1

License

GPL-3

Maintainer

Sebastien Wouters

Last Published

July 6th, 2023

Functions in StratigrapheR (1.3.1)

as.lim

Create / Check / Manipulate lim objects
StratigrapheR

StratigrapheR: integrated stratigraphy for R
bedtext

Writes the names of the beds in a litholog
blackSet

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

Draws a pointsvg object around a given point
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
StratigrapheR.examples

Data for examples
collection

Create a list of symbols
collections

Collections of symbols
convertAxis

Converts the axis following a given formula
infobar

Draws rectangles with text in them
fmod

Universal remainder function
changesvg

Changes a pointsvg object
changejoint

Change the dimensions of bedding joints
earinc

Recalculates inclination in equal area projection
is.clockwise

Identify whether the points of a polygon are ordered clockwise
clipsvg

Clips a standardised pointsvg object into a given frame
earplanes

Draws planes on an equal area stereonet
dipfix

Fix Dip
earpoints

Draws points on an equal area stereonet
divisor

Greatest Common Rational Divisor
flip.lim

Inverts the intervals
folder

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

Encases two numbers between multiples of a given number
earnet

Draws an equal area stereonet
formFunction

Converts a formula into a function
enlarge

Expands the TRUE values of a T/F vector to their nth neighbours
is.joint

Check (bedding) joint objects
encircle

Draws circles
leftlog

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

Suppresses every n th element of a vector
in.window

Irregular windowing
fmean

Fischer mean
framesvg

Draws a standardised pointsvg object into a given frame
multigons

Draws several polygons
greySet

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

Find the points of a litholog that are along a given vertical line
ignore

Ignores useless objects
multilines

Draws several lines
in.lim

Finds the intervals encompassing values
octapos

Identify points in a polygon in reference to an octagon
minorAxis

Adds an axis with minor ticks to a plot
minorAxisTicks

Compute Pretty Minor Axis Tick Scales
pdfDisplay

Generates PDF and SVG figures
rotate

Spherical rotation around fixed axes
litholog

Create/check lithologs
incfix

Fix Inclination
octashift

Shifts the order of polygon points
profiler

Extract the profile of a litholog
merge_list

Method for merging lists by name
homogenise

Homogenise a list
rebound

Simplifies boundary indicators for lim objects
memento

Remembers and outputs the result of a slow function
seq_log

Gives the repartition of values for a log 10 scale between a given interval
mid.lim

Provides mid-points intervals in an ordered vector
neatPick

Interactive user modification of the arguments of a repeated function
neatPicked

Runs neatPick without user input
strat.mean

Extrapolate and intrapolate tie points
planepoints

Describes planes by points
ylink

Draws connection lines to connect two points in y
strat.repair

Remove instantaneous deposits and add thickness in hiatuses
pointsvg

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

Plane correction
zijderveld

Draws a Zijderveld plot
nlegend

New legend element
weldprofile

Changes profiles in basic lithologs
strat.var

Compute the realtive thickness variations of sections
symbology

Draws the symbols of a collection
whiteSet

Sets the plot environment to draw a long data set
weldjoint

Changes boundaries segments in basic lithologs
nset

Find indexes for n identical elements
rmatrix

Rotation matrix
repitch

Converts pitch into declination and inclination
pkgfind

Find a specific pattern in the code of functions in a package
simp.lim

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

Core correction
weldlog

Changes boundaries segments in basic lithologs
placesvg

Draws a pointsvg object
seq_mult

Sequence ordered by multiple
shift

Circular shift
sinpoint

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

Convertion between declinaison/inclination/intensity and cartesian coordinates
weld

Combines segments with "litholog()"-like data frame
tie.lim

Discretises lim objects
trace.lim

Visualize lim objects