pairs
.## S3 method for class 'RasterStackBrick':
pairs(x, hist=TRUE, cor=TRUE, use="pairwise.complete.obs", maxpixels=100000, ...)
cor
functioncex
and main
)boxplot, hist, density
r <- raster(system.file("external/test.grd", package="raster") )
s <- stack(r, 1/r, sqrt(r))
pairs(s)
# to make indvidual histograms:
hist(r)
# or scatter plots:
plot(r, 1/r)
Run the code above in your browser using DataLab