lpacf.plot {lpacf} | R Documentation |
Function to produce various plots of the lpacf.
Description
This function can produce plots of the lpacf at specified times and/or lags.
Usage
lpacf.plot(lpacf,atTime=NULL,atLag=NULL,SaveToFile=FALSE,alpha=0.95,...)
Arguments
lpacf |
An object produced by |
atTime |
Vector of the times of the |
atLag |
Vector of the lags (columns) of the |
SaveToFile |
If large numbers of plots are needed then set |
alpha |
alpha level for the confidence intervals, default 95% confidence. |
... |
Additional arguments can be supplied which will be passed to |
Details
Produces the desired 1-d plots of the lpacf at times and lags as specified by atTime
and atLag
.
Value
Silently returns the desired 1-d plots of the lpacf at times and lags as specified by atTime
and atLag
. If SaveToFile=TRUE
then these are saved to a file in the current working directory rather than displayed.
Author(s)
Rebecca Killick
See Also
Examples
# first generate a time-varying process
set.seed(879)
x=tvar2sim()
# calculate the lpacf
ans<-lpacf(x,lag.max=10,filter.number=2,family="DaubExPhase")
# then plot it at the first 10 lags at a couple of points in the data.
lpacf.plot(ans,atLag=1:10,atTime=c(150,350))