powered by
Parallel coordinates plot using GGally::ggparcoord.
plot_parallel(data, columns, group, colors = NULL, title = NULL)
returns a ggplot2::ggplot graphic
data.frame
numeric columns to include (indices or names)
grouping column (index or name)
optional vector of colors for groups
optional title
data(iris) grf <- plot_parallel(iris, columns = 1:4, group = 5) plot(grf)
Run the code above in your browser using DataLab