Learn R Programming

lgcp (version 1.3-3)

plot.lgcpAutocorr: plot.lgcpAutocorr function

Description

Plots lgcpAutocorr objects: output from autocorr

Usage

## S3 method for class 'lgcpAutocorr':
plot(x, sel = 1:dim(x)[3], ask = TRUE, crop = TRUE,
  plotwin = FALSE, ...)

Arguments

x
an object of class lgcpAutocorr
sel
vector of integers between 1 and grid$len: which grids to plot. Default NULL, in which case all grids are plotted.
ask
logical; if TRUE the user is asked before each plot
crop
whether or not to crop to bounding box of observation window
plotwin
logical whether to plot the window attr(x,"window"), default is FALSE
...
other arguments passed to image.plot

Value

  • a plot

See Also

autocorr

Examples

Run this code
ac <- autocorr(lg,qt=c(1,2,3))
                          # assumes that lg has class lgcpPredict
plot(ac)

Run the code above in your browser using DataLab