Learn R Programming

astrochron (version 1.4)

tune: Tune stratigraphic series

Description

Tune stratigraphic series from space to time, using specified control points

Usage

tune(dat,controlPts,extrapolate=F,genplot=T,check=T,verbose=T)

Arguments

dat

Stratigraphic series for tuning. First column should be location (e.g., depth), second column should be data value.

controlPts

Tuning control points. A data frame or matrix containing two columns: depth, time

extrapolate

Extrapolate sedimentation rates above and below 'tuned' interval? (T or F)

genplot

Generate summary plots? (T or F)

check

Conduct compliance checks before processing? (T or F) In general this should be activated; the option is included for Monte Carlo simulation.

verbose

Verbose output? (T or F)

Examples

Run this code
# generate example series with 3 precession terms using function 'cycles'
ex1=cycles()

# then convert from time to space using a sedimentation rate that increases from 1 to 7 cm/ka
ex2=sedRamp(ex1,srstart=0.01,srend=0.07)

# assemble tuning control points (this is the depth-time map)
controlPts=cbind(ex2[,1],ex1[,1])

# tune record
ex3=tune(ex2,controlPts=controlPts)

Run the code above in your browser using DataLab