factor type)‘species’ column is of factor type and has box representation for its categories.
refColumnDim argument (referenced column is categorical)Each trace has a color depending of its ‘species’ value.
categoricalCS argumentColors used for categories are not the same as previously (supported values: Category10, Accent, Dark2, Paired, Set1).
refColumnDim argument (referenced column is continuous)Each trace has a color depending of its ‘Sepal.Length’ value.
continuousCS argumentColors used for traces are not the same as previously (supported values: Blues, RdBu, YlGnBu, YlOrRd, Reds).
factor type)Several columns are of numerical type but should be of factor type (for example ‘cyl’).
categorical argumentcategorical <- 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")‘cyl’ and four last columns have a box representation for its categories.
inputColumns argumentcategorical <- list(NULL, c(4, 6, 8), NULL, NULL, NULL, NULL, NULL, c(0, 1), c(0, 1), 3:5, 1:8)
inputColumns <- c(FALSE, TRUE, TRUE, FALSE, FALSE, TRUE, FALSE, TRUE, TRUE, TRUE, TRUE)
parallelPlot(mtcars, categorical = categorical, inputColumns = inputColumns, refColumnDim = "cyl")The column name is blue for outputs and green for inputs (in shiny mode, inputs can be edited).
histoVisibility argumentAn histogram is displayed for each column.
cutoffs argumenthistoVisibility <- rep(TRUE, ncol(iris))
cutoffs <- list(list(c(6, 7)), NULL, NULL, NULL, c("virginica", "setosa"))
parallelPlot(iris, histoVisibility = histoVisibility, cutoffs = cutoffs)Traces which are not kept by cutoffs are greyed; an histogram is displayed considering only kept traces.
refRowIndex argumentAxes are shifted vertically in such a way that first trace of the dataset looks horizontal.
rotateTitle argumentColumn names are rotated (can be useful for long column names).
columnLabels argumentcolumnLabels <- gsub("\\.", "<br>", colnames(iris))
parallelPlot(iris, refColumnDim = "Species", columnLabels = columnLabels)Given names are displayed in place of column names found in dataset; <br> is used to insert line breaks.