Learn R Programming

astrochron (version 1.4)

linterp: Piecewise linear interpolation of stratigraphic series

Description

Interpolate stratigraphic series onto a evenly sampled grid, using piecewise linear interpolation

Usage

linterp(dat,dt,start,genplot=T,check=T,verbose=T)

Arguments

dat

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

dt

New sampling interval.

start

Start interpolating at what time/depth/height value? By default, the first value of the stratigraphic series will be used.

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)