Pairs plot (matrix of scatterplots)
pairs.RdPair plots of layers in a RasterStack or RasterBrick. This is a wrapper around graphics function pairs.
Usage
# S4 method for class 'RasterStackBrick'
pairs(x, hist=TRUE, cor=TRUE, use="pairwise.complete.obs", maxpixels=100000, ...)Arguments
- x
RasterBrick or RasterStack
- hist
Logical. If TRUE a histogram of the values is shown on the diagonal
- cor
Logical. If TRUE the correlation coefficient is shown in the upper panels
- use
Argument passed to the
corfunction- maxpixels
Integer. Number of pixels to sample from each layer of large Raster objects
- ...
Additional arguments (only
cexandmain)
