Learn R Programming

DataVisualizations (version 1.4.0)

OpposingViolinBiclassPlot: OpposingViolinBiclassPlot

Description

Creates a set of two violin plots opposing each other

Usage

OpposingViolinBiclassPlot(ListData, Names, BoxPlots = FALSE,
Subtitle = c("AttributeA", "AttributeB"),
Title = "Opposing Violin Biclass Plot")

Value

Plotly object.

Arguments

ListData

List of k matrices as elements where each element has shape [1:n, 1:2]

Names

Vector of character names for each element of ListData

BoxPlots

Optional: Boolean variable BoxPlots = TRUE shows a box plot drawn into the violin plot. BoxPlots = FALSE shows no box plot. Default: BoxPlots = FALSE

Subtitle

Optional: Vector of character names for two classes. The classes are described as features contained in the matrix [1:n, 1:2]

Title

Optional: Character containing the title of the plot.

Author

Quirin Stier