Learn R Programming

astrochron (version 1.5)

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,check=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)

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)