Learn R Programming

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

astrochron (version 1.2)

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

1.2

License

GPL-3

Maintainer

Stephen Meyers

Last Published

August 26th, 2023

Functions in astrochron (1.2)

confAdjust

Adjust spectrum confidence levels for multiple comparisons
constantSedrate

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

Wiener Deconvolution through Fast Fourier Transform
bioturb

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

Subtract linear trend from stratigraphic series
eAsmTrack

Track ASM null hypothesis significance level minima in eASM results
eTimeOpt

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

Remove mean value from stratigraphic series
cycles

Generate harmonic model
dpssTaper

Apply DPSS taper to stratigraphic series
conv_fft

Convolution through Fast Fourier Transform
eTimeOptTrack

Track eTimeOpt r2 maxima
cosTaper

Apply cosine taper to stratigraphic series
eAsm

Evolutive Average Spectral Misfit
getData

Download file from astrochron data server
diffAccum

Model differential accumulation
divTrend

Divide by linear trend in stratigraphic series
gausTaper

Apply Gaussian taper to stratigraphic series
eha

Evolutive Harmonic Analysis & Evolutive Power Spectral Analysis
freq2sedrate

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

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

Flip stratigraphic series
headn

List column numbers for each variable
getColor

Query R for color information
hannTaper

Apply Hann taper to stratigraphic series
linage

Tune stratigraphic series to an astronomical target using graphical interface
delPts

Interactively delete points in plot
iso

Isolate data from a specified stratigraphic interval
hilbert

Hilbert transform of stratigraphic series
linterp

Piecewise linear interpolation of stratigraphic series
logT

Log transformation of stratigraphic series
idPts

Interactively identify points in plot
impulseResponse

Impulse response function calculation
etp

Generate eccentricity-tilt-precession models
mtmML96

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

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

Imbrie and Imbrie (1980) ice sheet model
mtm

Multitaper method spectral analysis
insoSeries

Laskar et al. (2004) insolation calculations
lowpass

Lowpass filter stratigraphic series
integratePower

Determine the total power within a given bandwidth
extract

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

Generate noise surrogates from a theoretical power spectrum
insoMap

generate an insolation map using Laskar et al. (2004) insolation calculations
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
lowspec

Robust Locally-Weighted Regression Spectral Background Estimation
mtmAR

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

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

Set up plots
prewhiteAR1

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

Adjust spectral p-values for multiple comparisons
pwrLaw

Generate power law (1/f) noise surrogates
noKernel

Remove Gaussian kernel smoother from stratigraphic series
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
mwStats

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

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

Example stratigraphic model series
rankSeries

Create lithofacies rank series from bed thickness data
prewhiteAR

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

Set default plotting parameters for vertical stratigraphic plots
pwrLawFit

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

Create color time-frequency plots from eha results.
sedrate2time

Integrate sedimentation rate curve to obtain time-space map
mwCor

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

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

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

Simple periodogram
surrogates

Generate phase-randomized surrogate series as in Ebisuzaki (1997)
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).
pad

Pad stratigraphic series with zeros
noLow

Fit and remove Lowess smoother from stratigraphic series
read

Read data from file
repl0

Replace values < 0 with 0
sortNave

Remove missing entries, sort data, average duplicates
replEps

Replace values <= 0 with smallest positive value
stepHeat

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

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

TimeOpt analysis using variable sedimentation models
trimAT

Remove outliers from stratigraphic series
trim

Remove outliers from stratigraphic series
timeOptTemplatePlot

TimeOptTemplatePlot: Generate summary figure for TimeOptTemplate analyses
s

Standardize variable in stratigraphic series
sedRamp

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

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

Synthesize stratigraphy from forcing function
xplot

Generate cross-plot with kernel density estimates on axes
unbioturb

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

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

Tune stratigraphic series
writeCSV

Write CSV file
tracePeak

A tool to interactively trace peak trajectories on plots
timeOptMCMC

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

TimeOptPlot: Generate summary figure for TimeOpt analyses
taner

Apply Taner bandpass or lowpass filter to stratigraphic series
tanerFC

Apply Taner bandpass or lowpass filter to Fourier coefficients
resample

Resample stratigraphic series
strats

Summary statistics for stratigraphic series
surrogateCor

Estimate correlation coefficient and significance for serially correlated data
rmNA

Remove stratigraphic levels that contain one or more NAs
testTilt

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

Read data matrix from file
timeOpt

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

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

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

Monte Carlo simulation for TimeOpt
timeOptSimPwrLaw

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

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

Write tab-delimited file
timeOptTemplateSim

Simulations for timeOptTemplate
tones

Calculate all possible difference and combinations tones
asm

Average Spectral Misfit
armaGen

Generate autoregressive moving-average model
bergerPeriods

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

Anchor a floating astrochronology to a radioisotopic age
astrochron-package

astrochron: A Computational Tool for Astrochronology
bandpass

Bandpass filter stratigraphic series
autoPlot

Automatically plot multiple stratigraphic series, with smoothing if desired
cb

Combine multiple vectors
calcPeriods

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

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

Generate AR(1) surrogates
arcsinT

Arcsine transformation of stratigraphic series
clipIt

Create non-linear response by clipping stratigraphic series
ar1etp

AR(1) + ETP simulation routine