Learn R Programming

astrochron (version 0.3.1)

resample: Resample Stratigraphic Series

Description

Resample a stratigraphic series using a new (variably sampled) time or space axis. Values are piecewise-linearly interpolated from original data.

Usage

resample(dat,xout,genplot=T,verbose=T)

Arguments

dat
Stratigraphic series for resampling. First column should be location (e.g., depth), second column should be data value.
xout
Vector of new sampling locations.
genplot
Generate summary plots? (T or F)
verbose
Verbose output? (T or F)