Download Package `astrochron`

Transcript
traceFreq
69
Arguments
spec
Time-frequency spectral results to evaluate. Must have the following format:
column 1=frequency; remaining columns (2 to n)=power, amplitude or probability; titles for columns 2 to n must be the location (depth or height). Note that
this format is ouput by function eha.
color
Line color for tracing. 1 = transparent black; 2 = transparent white; 3 = transparent yellow
h
Height of plot in inches.
w
Width of plot in inches.
ydir
Direction for y-axis in plots (depth or height). -1 = values increase downwards
(slower plotting!), 1 = values increase upwards.
xmin
Minimum spatial frequency to plot.
xmax
Maximum spatial frequency to plot.
ymin
Minimum depth/height to plot.
ymax
Maximum depth/height to plot.
ncolors
Number of colors to use in plot.
pl
How do you want to represent the spatial frequency path?: 1=lines and points;
2=lines; 3=points
ln
Plot natural log of spectral results? (T or F)
See Also
eha and trackFreq
Examples
# Check to see if this is an interactive R session, for compliance with CRAN standards.
# YOU CAN SKIP THE FOLLOWING LINE IF YOU ARE USING AN INTERACTIVE SESSION.
if(interactive()) {
# Generate example series with 3 terms using function 'cycles'.
# Then convert from time to space with sedimentation rate that increases from 1 to 5 cm/ka, using
# function 'sedramp'.
# Finally interpolate to median sampling interval using function 'linterp'.
dat=linterp(sedRamp(cycles(freqs=c(1/100,1/40,1/20),start=1,end=2500,dt=5)))
# EHA anlaysis, output amplitude results
out=eha(dat,output=3)
## Interactively track frequency drift
freq=traceFreq(out)
}