View source: R/graphics_plot_parallel.R
| plot_parallel | R Documentation |
Parallel coordinates plot using GGally::ggparcoord.
plot_parallel(data, columns, group, colors = NULL, title = NULL)
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 |
returns a ggplot2::ggplot graphic
data(iris)
grf <- plot_parallel(iris, columns = 1:4, group = 5)
plot(grf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.