Learn R Programming

⚠️There's a newer version (0.4.0) of this package.Take me there.

parallelPlot

'parallelPlot' is:

  • an interactive parallel coordinates plot (thanks to the d3.js);
  • an HTML widget for R that render in various contexts including the R console, 'R Markdown' documents, and 'Shiny' web applications (thanks to the htmlwidgets package).

Installation

You can install this package from CRAN, or the development version from GitHub:

# CRAN version
install.packages('parallelPlot')

# Or Github version
if (!require('devtools')) install.packages('devtools')
devtools::install_gitlab(host = 'https://gitlab.com', repo = 'drti/parallelPlot', subdir = 'htmlwidget')

Example

library(parallelPlot)
categorical <- list(NULL, c(4, 6, 8), NULL, NULL, NULL, NULL, NULL, c(0, 1), c(0, 1), 3:5, 1:8)
parallelPlot(mtcars, categorical = categorical, refColumnDim = "cyl")

Copy Link

Version

Install

install.packages('parallelPlot')

Monthly Downloads

242

Version

0.3.1

License

MIT + file LICENSE

Maintainer

David Chazalviel

Last Published

April 18th, 2023

Functions in parallelPlot (0.3.1)

setCategoricalColorScale

Lines colors
changeRow

Row edition
setCategoriesRep

Categories Representation
getPlotConfig

Asks to retrieve the plot configuration. Result will be sent through a reactive input.
setCutoffs

Cutoffs values
parallelPlot-shiny

Shiny bindings for parallelPlot
setArrangeMethod

Lines position
setContinuousColorScale

Lines colors
getValue

Plot attributes
parallelPlot

htmlwidget for d3.js parallel coordinate plot
setHistoVisibility

Histograms visibility
setInvertedAxes

Axis orientation
setKeptColumns

Column visibility