Learn R Programming

astrochron (version 1.4)

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

751

Version

1.4

License

GPL-3

Maintainer

Last Published

September 17th, 2024

Functions in astrochron (1.4)

astrochron-package

astrochron: A Computational Tool for Astrochronology
bandpass

Bandpass filter stratigraphic series
calcPeriods

Calculate eccentricity, obliquity and precession periods in ka, given g, s and k in arcsec/yr
detrend

Subtract linear trend from stratigraphic series
bioturb

Bioturbate time series using diffusion model from Guinasso and Schinck (1975), as in Liu et al. (2021)
eAsmTrack

Track ASM null hypothesis significance level minima in eASM results
eAsm

Evolutive Average Spectral Misfit
clipIt

Create non-linear response by clipping stratigraphic series
cb

Combine multiple vectors
diffAccum

Model differential accumulation
freq2sedrate

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

Adjust spectrum confidence levels for multiple comparisons
bergerPeriods

Obliquity and precession periods of Berger et al. (1992)
getLaskar

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

generate an insolation map using Laskar et al. (2004) insolation calculations
gausTaper

Apply Gaussian taper to stratigraphic series
constantSedrate

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

bicoherence: Calculate bispectrum and bicoherence using WOSA method as detailed in Choudhury et al. (2008).
ar1etp

AR(1) + ETP simulation routine
getColor

Query R for color information
getData

Download file from astrochron data server
cycles

Generate harmonic model
divTrend

Divide by linear trend in stratigraphic series
delPts

Interactively delete points in plot
insoSeries

Laskar et al. (2004) insolation calculations
makeNoise

Generate noise surrogates from a theoretical power spectrum
modelA

Example stratigraphic model series
linage

Tune stratigraphic series to an astronomical target using graphical interface
idPts

Interactively identify points in plot
linterp

Piecewise linear interpolation of stratigraphic series
hannTaper

Apply Hann taper to stratigraphic series
mwStatsGrid

'Dynamic window' moving average, median and variance of stratigraphic series, using evenly spaced spatial/temporal grid
mwin

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

Apply DPSS taper to stratigraphic series
demean

Remove mean value from stratigraphic series
eha

Evolutive Harmonic Analysis & Evolutive Power Spectral Analysis
etp

Generate eccentricity-tilt-precession models
mtmML96

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

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

'Dynamic window' moving assessment of maxima and minima in stratigraphic series
eTimeOptTrack

Track eTimeOpt r2 maxima
deconv

Wiener Deconvolution through Fast Fourier Transform
noLow

Fit and remove Lowess smoother from stratigraphic series
pad

Pad stratigraphic series with zeros
mwStats

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

Imbrie and Imbrie (1980) ice sheet model
headn

List column numbers for each variable
hilbert

Hilbert transform of stratigraphic series
extract

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

Impulse response function calculation
flip

Flip stratigraphic series
linterpLH13

Piecewise linear interpolation of stratigraphic series using the approach of Laepple and Huybers (2013)
integratePower

Determine the total power within a given bandwidth
insoDiff

insolation difference map using Laskar et al. (2004) insolation calculations
logT

Log transformation of stratigraphic series
iso

Isolate data from a specified stratigraphic interval
mtm

Multitaper method spectral analysis
plotEha

Create color time-frequency plots from eha results.
mtmPL

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

Create lithofacies rank series from bed thickness data
pwrLawFit

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

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

Principal Component Analysis on Stratigraphic Series
peak

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

Summary statistics for stratigraphic series
prewhiteAR

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

Lowpass filter stratigraphic series
lowspec

Robust Locally-Weighted Regression Spectral Background Estimation
multiTest

Adjust spectral p-values for multiple comparisons
replEps

Replace values <= 0 with smallest positive value
repl0

Replace values < 0 with 0
mwinGrid

Determine 'dynamic moving window' for stratigraphic series, adjusting for changing sample density to maintain a window of constant duration; output on evenly spaced grid
sortNave

Remove missing entries, sort data, average duplicates
tanerFC

Apply Taner bandpass or lowpass filter to Fourier coefficients
mwCor

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

Read data from file
testBackground

Evaluate power spectrum false positive rates via Monte Carlo simulation
pl

Set up plots
timeOptSimPwrLaw

Monte Carlo simulation for TimeOpt, using power law (1/f) noise
sedrate2time

Integrate sedimentation rate curve to obtain time-space map
readMatrix

Read data matrix from file
noKernel

Remove Gaussian kernel smoother from stratigraphic series
s

Standardize variable in stratigraphic series
sedRamp

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

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

TimeOptPlot: Generate summary figure for TimeOpt analyses
prewhiteAR1

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

Generate power law (1/f) noise surrogates
plS

Set default plotting parameters for vertical stratigraphic plots
timeOptTemplate

TimeOpt analysis using variable sedimentation models
timeOpt

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

Synthesize stratigraphy from forcing function
stepHeat

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

Monte Carlo simulation for TimeOpt
timeOptTemplatePlot

TimeOptTemplatePlot: Generate summary figure for TimeOptTemplate analyses
resample

Resample stratigraphic series
writeCSV

Write CSV file
periodogram

Simple periodogram
writeT

Write tab-delimited file
tones

Calculate all possible difference and combinations tones
traceFreq

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

Tune stratigraphic series
timeOptMCMC

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

Simulations for timeOptTemplate
tracePeak

A tool to interactively trace peak trajectories on plots
trackFreq

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

Remove outliers from stratigraphic series
wtMean

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

Generate cross-plot with kernel density estimates on axes
taner

Apply Taner bandpass or lowpass filter to stratigraphic series
rmNA

Remove stratigraphic levels that contain one or more NAs
surrogateCor

Estimate correlation coefficient and significance for serially correlated data
testPrecession

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

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

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

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

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

Remove outliers from stratigraphic series
trough

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

Bioturbation removal function following the approach of Liu et al (2021)
asm

Average Spectral Misfit
ar1

Generate AR(1) surrogates
autoPlot

Automatically plot multiple stratigraphic series, with smoothing if desired
arcsinT

Arcsine transformation of stratigraphic series
accum

Calculate geochemical proxy accumulation rates
armaGen

Generate autoregressive moving-average model
anchorTime

Anchor a floating astrochronology to a radioisotopic age
conv_fft

Convolution through Fast Fourier Transform
cosTaper

Apply cosine taper to stratigraphic series