This is a wrapper around graphics::pairs()
that accepts stars
objects. It is adapted from a similar function in the terra
package.
Source: R/pairs.R
pairs-stars-method.Rd
This is a wrapper around graphics::pairs()
that accepts stars
objects.
It is adapted from a similar function in the terra
package.
Usage
# S4 method for class 'stars'
pairs(
x,
hist = TRUE,
cor = TRUE,
use = "pairwise.complete.obs",
maxcells = 1e+05,
...
)
Arguments
- x
SpatRaster
- 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
cor
function- maxcells
integer. Number of pixels to sample from each layer of a large SpatRaster
- ...
additional arguments (graphical parameters)