Plot Autocorrelation Bars From a Data Frame, Matrix, or Vector
Plot autocorrelation bars (ACF) from a data frame, matrix, or vector.
plotACF(file, lags=20, clrs=c("blue","red","green","magenta","navy"), ...)
file |
data frame, matrix, or vector of numeric values. |
lags |
maximum number of lags to use in the ACF calculation. |
clrs |
vector of colours. Patterns are repeated if the number
of fields exceed the length of |
... |
additional arguments for |
This function is designed primarily to give greater flexibility when viewing
results from the R-package BRugs
. Use plotACF
in conjunction with
samplesHistory("*",beg=0,plot=FALSE)
rather than samplesAutoC
which calls plotAutoC
.
Rowan Haigh, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC
local(envir=.PBSmodEnv,expr={ oldpar = par(no.readonly=TRUE) resetGraph(); plotACF(trees,lwd=2,lags=30) par(oldpar) })
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.