Learn R Programming

daltoolbox (version 1.3.717)

plot_pair_adv: Plot advanced scatter matrix

Description

Scatter matrix with class coloring and manual palette application.

Usage

plot_pair_adv(data, cnames, title = NULL, clabel = NULL, colors = NULL)

Value

returns a ggplot2::ggplot graphic

Arguments

data

data.frame

cnames

column names to include

title

optional title

clabel

optional class label column name

colors

optional vector of colors for classes

Examples

Run this code
data(iris)
grf <- plot_pair_adv(iris, cnames = colnames(iris)[1:4], title = "Iris")
print(grf)

Run the code above in your browser using DataLab