R/80_matrixplot.R
matrixplot.Rd
A matrixplot is a grid of a particular type of graphic showing bivariate relationships between all pairs of variables of a certain(s) type(s) in a multivariate data set.
matrixplot(data, dataclass = NULL, diagram = NULL, dir = tempdir())
Data.frame. Default dataset to use for plot. Unquoted. If not already a data.frame, it should be first coerced to by as.data.frame().
Character vector. The types of data to be considered among the following:
'logical'
'ordered'
'factor'
'numeric'
'datetime'
'character'
Character. A specific graphic to be presented within the ones considered in the 2 input variables specimen available at https://sciencegraph.github.io/brinton/articles/specimen2.html.
Directory in which the files are stored.
Cause the side-effect of creating and displaying a temporary html file that includes a grid of graphics. The variables of a dataset are first grouped by the type of data, then, the variables matching the classes specified in the dataclass parameter, are represented in each row and/or column of the matrix.
Specimen for bivariate data.
if (interactive()) {
matrixplot(iris, dataclass = c("numeric","numeric"),
diagram="bw contour plot with data points")
}