Plots all pairwise two-dimensional slices of a nicheR_ellipsoid
in a multi-panel layout using plot_ellipsoid(). When background
or prediction is supplied, axis limits are computed once from the
global range of all variables and shared across every panel, so projections
are directly comparable without distortion from per-panel rescaling.
Arguments
- object
A
nicheR_ellipsoidobject.- background
Optional data frame or matrix of background points passed to each
plot_ellipsoid()call. When provided, global axis limits are computed from the range of all variables inbackgroundcombined with all pairwise ellipsoid boundaries.- prediction
Optional data frame or matrix of prediction values passed to each
plot_ellipsoid()call. Used whenbackgroundisNULL. Global limits are computed from the range of all variables inprediction.- ...
Additional graphical arguments passed to
plot_ellipsoid().
Details
Global limits are computed per variable across the full data and all
ellipsoid boundary projections, then passed to each panel via the
fixed_lims argument of plot_ellipsoid(). This prevents
individual panels from rescaling to their own data extent, which would make
niche widths appear identical across dimensions even when they differ. If
neither background nor prediction is provided, each panel
shows only the ellipsoid boundary and limits come from that boundary alone,
which is the intended behavior for a boundary-only view.