Learn R Programming

highcharter (version 0.9.4)

hcparcords: Shortcut to create parallel coordinates

Description

Shortcut to create parallel coordinates

Usage

hcparcords(df, ...)

Arguments

df

A data frame object.

...

Additional shared arguments for the data series (https://api.highcharts.com/highcharts/series) for the hchar.data.frame function.

Examples

Run this code
# NOT RUN {
require(viridisLite)

n <- 15

hcparcords(head(mtcars, n), color = hex_to_rgba(magma(n), 0.5))

require(dplyr)
data(iris)
set.seed(123)

iris <- sample_n(iris, 60)

hcparcords(iris, color = colorize(iris$Species))
# }

Run the code above in your browser using DataLab