% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ggInterval_scatterMatrix.R
\name{ggInterval_scatterMatrix}
\alias{ggInterval_scatterMatrix}
\title{Scatterplot matrix for interval-valued data}
\usage{
ggInterval_scatterMatrix(data = NULL, mapping = aes(NULL),
showLegend = FALSE, borderLinewidth = 0.08)
}
\arguments{
\item{data}{A ggInterval object. It can also be either RSDA object or
classical data frame,which will be automatically convert to ggInterval
data.}

\item{mapping}{Set of aesthetic mappings created by aes() or aes_().
If specified and inherit. aes = TRUE (the default),
it is combined with the default mapping at the top level of
the plot. You must supply mapping if there is no plot mapping.}

\item{showLegend}{whether show the legend.}

\item{borderLinewidth}{Numeric border width used for the interval rectangles.}
}
\value{
Return a ggplot2 object.
}
\description{
Visualize all continuous interval-valued variables with
a matrix of pairwise interval scatterplots. Each off-diagonal panel
shows interval rectangles for one variable pair, whereas each diagonal
panel displays the variable name. This function automatically filters
out non-interval variables and plots all remaining continuous interval
variables, so explicit \code{x} and \code{y} mappings are not required.
It is not recommended to apply the function to too many variables
because the full pairwise matrix becomes computationally expensive and
visually crowded.
}
\examples{
mydata <- ggInterval::facedata
ggInterval_scatterMatrix(mydata[, 1:3])
ggInterval_scatterMatrix(
  mydata[, 1:3],
  aes(fill = "black", alpha = 0.2),
  borderLinewidth = 0.15
)
}
