Learn R Programming

astrochron (version 0.3.1)

ar1etp: AR(1) + ETP simulation Routine

Description

Simulate a combined AR(1) + ETP signal, plot spectrum and confidence levels

Usage

ar1etp(etpdat=NULL,iter=100,rho=0.9,ARvar=1,sig=90,tbw=2,padfac=5,ftest=F,fmax=0.1,
       speed=0.5,pl=2,output=F,graphfile=0)

Arguments

etpdat
Eccentricity, tilt, precession astronmical series. First column = time, second column = ETP. If not entered, will use default series.
iter
Number of simulations.
rho
AR(1) coefficient.
ARvar
Multiplicative factor for AR1 noise (1= eqivalent to ETP variance).
sig
Demarcate what confidence level (percent) on plots?
tbw
MTM time-bandwidth product.
padfac
Padding factor.
ftest
Include MTM harmonic f-test results? (T or F)
fmax
Maximum frequency for plotting.
speed
Set the amount of time to pause before plotting new graph, in seconds.
pl
Plot log power (1) or linear power (2)?
output
Output modeled time series? (T or F). If selected, only one simulation performed.
graphfile
Output a pdf or jpg image of each plot? 0 = no, 1 = pdf, 2 = jpeg. If yes, there will be no output to screen. Individual graphic files will be produced for each simluation, for assembling into a movie.