Learn R Programming

astrochron (version 0.3.1)

noKernel: Remove Gaussian Kernel Smoother from Stratigraphic Series

Description

Estimate trend and remove from stratigraphic series using a Gaussian kernel smoother

Usage

noKernel(dat,smooth=0.1,sort=F,output=1,genplot=T,verbose=T)

Arguments

dat
Stratigraphic series for smoothing. First column should be location (e.g., depth), second column should be data value.
smooth
Degree of smoothing with a Gaussian kernal (0 = no smoothing); for a value of 0.5, the kernel is scaled so that its quartiles (viewed as prob densities) are at +/- 25 percent of the data series length. Must be > 0.
sort
Sort data into increasing depth (required for ksmooth)? (T or F)
output
1= output residual values; 2= output Gaussian kernel smoother.
genplot
Generate summary plots? (T or F)
verbose
Verbose output? (T or F)

See Also

bandpass, lowpass, noLow, prewhiteAR, and prewhiteAR1