Usage
eha(dat,tbw=2,pad,fmin,fmax,step,win,demean=T,detrend=T,siglevel=0.90,
sigID=F,ydir=1,output=0,pl=1,xlab,ylab,genplot=2,verbose=T)
Arguments
dat
Stratigraphic series to analyze. First column should be location (e.g., depth), second column should be data value.
tbw
MTM time-bandwidth product (
pad
Pad with zeros to how many points? Must not factor into a prime number >23. Maximum number of points is 200,000.
fmin
Smallest frequency for analysis and plotting.
fmax
Largest frequency for analysis and plotting.
step
Step size for EHA window, in units of space or time.
win
Window size for EHA, in units of space or time.
demean
Remove mean from data series? (T or F)
detrend
Remove linear trend from data series? (T or F)
siglevel
Significance level for peak identification/filtering (0-1)
sigID
Identify signficant frequencies on power, amplitude, and probabilty plots. Only applies when one spectrum is calculated. (T or F)
ydir
Direction for y-axis in EHA plots (depth,height,time). -1 = values increase downwards (slower plotting), 1 = values increase upwards
output
Return output as new data frame? 0=no; 1=all results; 2=power; 3=amplitude; 4=probability; 5=significant frequencies (only for one spectrum); 6=significant frequencies and their probabilities (only for one spectrum)
pl
Plot logarithm of spectral power (1) or linear spectral power (2)?
xlab
Label for x-axis. Default = "Frequency"
ylab
Label for y-axis. Default = "Location"
genplot
Plotting options. 0= no plots; 1= power, amplitude, f-test, probability; 2=data series, power, amplitude, probability; 3= data series, power, normalized amplitude, filtered (at siglevel) and normalized amplitude
verbose
Verbose output? (T or F)