data( mtcars )
head(mtcars)
parcoords( mtcars, withD3 = TRUE,
color = list(
colorBy = "cyl"
, colorScale = "scaleOrdinal"
, colorScheme = "schemeCategory10"
)
)
parcoords( mtcars, color = "green" )
parcoords( mtcars, color = "#f0c" )
#
parcoords(data=mtcars, reorderable=TRUE,
withD3=TRUE, rownames=FALSE, width=NULL, autoresize=TRUE,
brushMode="1D-axes-multi", alphaOnBrushed=0.1, alpha=1.0, # alpha-->intensidad del color de las lineas, de 0 a 1.
color = list(
colorBy = "cyl"
, colorScale = "scaleOrdinal"
, colorScheme = "schemeCategory10"
)
)
#
parcoords(
mtcars
,rownames = FALSE
,brushMode = "1d-multi"
,brushPredicate = "OR"
,dimensions = list(
cyl = list(
title = "cylinder",
tickValues = unique(mtcars$cyl)
)
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.