Learn R Programming

daltoolbox (version 1.3.717)

plot_parallel: Plot parallel coordinates

Description

Parallel coordinates plot using GGally::ggparcoord.

Usage

plot_parallel(data, columns, group, colors = NULL, title = NULL)

Value

returns a ggplot2::ggplot graphic

Arguments

data

data.frame

columns

numeric columns to include (indices or names)

group

grouping column (index or name)

colors

optional vector of colors for groups

title

optional title

Examples

Run this code
data(iris)
grf <- plot_parallel(iris, columns = 1:4, group = 5)
plot(grf)

Run the code above in your browser using DataLab