Skip to contents

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

require(viridisLite)

n <- 15

hcparcords(head(mtcars, n), color = hex_to_rgba(magma(n), 0.5))
#> Error in dplyr::mutate(data, !!!list_names): Problem while computing `group = ~.row`.
#>  `group` must be a vector, not a `formula` object.

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

iris <- sample_n(iris, 60)

hcparcords(iris, color = colorize(iris$Species))
#> Error in dplyr::mutate(data, !!!list_names): Problem while computing `group = ~.row`.
#>  `group` must be a vector, not a `formula` object.