Learn R Programming

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

astrochron (version 0.9)

A Computational Tool for Astrochronology

Description

Routines for astrochronologic testing, astronomical time scale construction, and time series analysis. Also included are a range of statistical analysis and modeling routines that are relevant to time scale development and paleoclimate analysis.

Copy Link

Version

Install

install.packages('astrochron')

Monthly Downloads

799

Version

0.9

License

GPL-3

Maintainer

Stephen Meyers

Last Published

January 8th, 2019

Functions in astrochron (0.9)

anchorTime

Anchor a floating astrochronology to a radioisotopic age
ar1

Generate AR(1) surrogates
asm

Average Spectral Misfit
eAsmTrack

Track ASM null hypothesis significance level minima in eASM results
eTimeOpt

eTimeOpt: Evolutive implementation of TimeOpt (Meyers, 2015; Meyers, 2019)
armaGen

Generate autoregressive moving-average model
eTimeOptTrack

Track eTimeOpt r2 maxima
ar1etp

AR(1) + ETP simulation routine
cycles

Generate harmonic model
gausTaper

Apply Gaussian taper to stratigraphic series
calcPeriods

Calculate eccentricity and precession periods in ka, given g and k in arcsec/yr
cb

Combine multiple vectors
diffAccum

Model differential accumulation
eha

Evolutive Harmonic Analysis & Evolutive Power Spectral Analysis
hannTaper

Apply Hann taper to stratigraphic series
delPts

Interactively delete points in plot
arcsinT

Arcsine transformation of stratigraphic series
detrend

Subtract linear trend from stratigraphic series
clipIt

Create non-linear response by clipping stratigraphic series
headn

List column numbers for each variable
makeNoise

Generate noise surrogates from a theoretical power spectrum
etp

Generate eccentricity-tilt-precession models
modelA

Example stratigraphic model series
extract

Extract record from EHA time-frequency output or eAsm output
mwStats

'Dynamic window' moving average, median and variance of stratigraphic series
confAdjust

Adjust spectrum confidence levels for multiple comparisons
flip

Flip stratigraphic series
dpssTaper

Apply DPSS taper to stratigraphic series
mwin

Determine 'dynamic moving window' for stratigraphic series, adjusting for changing sample density to maintain a window of constant duration
divTrend

Divide by linear trend in stratigraphic series
plS

Set default plotting parameters for vertical stratigraphic plots
plotEha

Create color time-frequency plots from eha results.
hilbert

Hilbert transform of stratigraphic series
idPts

Interactively identify points in plot
rankSeries

Create lithofacies rank series from bed thickness data
read

Read data from file
eAsm

Evolutive Average Spectral Misfit
iso

Isolate data from a specified stratigraphic interval
slideCor

Identify optimal spatial/temporal shift to maximize correlation between two stratigraphic series.
getColor

Query R for color information
linage

Tune stratigraphic series to an astronomical target using graphical interface
mtmML96

Mann and Lees (1996) robust red noise MTM analysis
mtm

Multitaper method spectral analysis
getData

Download file from astrochron data server
mtmPL

Multitaper Method Spectral Analysis with Power Law (1/f) fit
getLaskar

Download Laskar et al. (2004, 2011a, 2011b) astronomical solutions
lowpass

Lowpass filter stratigraphic series
linterp

Piecewise linear interpolation of stratigraphic series
logT

Log transformation of stratigraphic series
mtmAR

Intermediate spectrum test of Thomson et al. (2001)
pwrLaw

Generate power law (1/f) noise surrogates
pwrLawFit

Estimate power law (1/f) fit to power spectrum
pad

Pad stratigraphic series with zeros
sortNave

Remove missing entries, sort data, average duplicates
tones

Calculate all possible difference and combinations tones
traceFreq

Frequency-domain minimal tuning: Use interactive graphical interface to trace frequency drift
replEps

Replace values <= 0 with smallest positive value
resample

Resample stratigraphic series
synthStrat

Synthesize stratigraphy from forcing function
freq2sedrate

Convert record of local spatial frequency (from EHA) to sedimentation rate curve
xplot

Generate cross-plot with kernel density estimates on axes
zoomIn

Dynamically explore cross-plot, zoom-in into specified region
peak

Identify maxima of peaks in series, filter at desired threshold value
taner

Apply Taner bandpass or lowpass filter to stratigraphic series
stepHeat

Ar/Ar Geochronology: Generate an Ar/Ar age spectrum and calculate step-heating plateau age.
lowspec

Robust Locally-Weighted Regression Spectral Background Estimation
imbrie

Imbrie and Imbrie (1980) ice sheet model
noKernel

Remove Gaussian kernel smoother from stratigraphic series
timeOptPlot

TimeOptPlot: Generate summary figure for TimeOpt analyses
noLow

Fit and remove Lowess smoother from stratigraphic series
timeOptMCMC

TimeOptMCMC: Evaluation of eccentricity-related amplitude modulation and bundling in paleoclimate data ("TimeOpt"), with uncertainties via Markov-Chain Monte Carlo
writeT

Write tab-delimited file
integratePower

Determine the total power within a given bandwidth
strats

Summary statistics for stratigraphic series
wtMean

Ar/Ar Geochronology: calculate weighted mean age, age uncertainty, and other associated statistics/plots (with interactive graphics for data culling).
timeOptSim

Monte Carlo simulation for TimeOpt
multiTest

Adjust spectral p-values for multiple comparisons
timeOptTemplate

TimeOpt analysis using variable sedimentation models
prewhiteAR

Prewhiten stratigraphic series with autoregressive filter, order selected by Akaike Information Criterion
mwCor

Calculate moving window correlation coefficient for two stratigraphic series, using a 'dynamic window'
trackPeak

A tool to interactively select points to track peak trajectories on plots
rmNA

Remove stratigraphic levels that contain one or more NAs
trim

Remove outliers from stratigraphic series
pl

Set up plots
periodogram

Simple periodogram
readMatrix

Read data matrix from file
prewhiteAR1

Prewhiten stratigraphic series with AR1 filter, using 'standard' or unbiased estimate of rho
repl0

Replace values < 0 with 0
timeOptTemplatePlot

TimeOptTemplatePlot: Generate summary figure for TimeOptTemplate analyses
sedRamp

Apply 'ramping' sedimentation rate model to convert time to stratigraphy
s

Standardize variable in stratigraphic series
timeOptTemplateSim

Simulations for timeOptTemplate
tune

Tune stratigraphic series
sedrate2time

Integrate sedimentation rate curve to obtain time-space map
writeCSV

Write CSV file
testBackground

Evaluate power spectrum false positive rates via Monte Carlo simulation
testPrecession

Astrochronologic testing via the precession amplitude modulation approach of Zeeden et al. (2015).
tracePeak

A tool to interactively trace peak trajectories on plots
surrogateCor

Estimate correlation coefficient and significance for serially correlated data
trackFreq

Frequency-domain minimal tuning: Use interactive graphical interface and sorting to track frequency drift
surrogates

Generate phase-randomized surrogate series as in Ebisuzaki (1997)
testTilt

Astrochronologic testing via the obliquity amplitude modulation approach of Zeeden et al. (2019 submitted).
timeOpt

TimeOpt: Evaluation of eccentricity-related amplitude modulation and bundling in paleoclimate data
trimAT

Remove outliers from stratigraphic series
trough

Identify minima of troughs in series, filter at desired threshold value
bandpass

Bandpass filter stratigraphic series
bergerPeriods

Obliquity and precession periods of Berger et al. (1992)
astrochron-package

astrochron: A Computational Tool for Astrochronology
autoPlot

Automatically plot multiple stratigraphic series, with smoothing if desired
demean

Remove mean value from stratigraphic series
constantSedrate

Apply a constant sedimentation rate model to transform a spatial series to temporal series
cosTaper

Apply cosine taper to stratigraphic series