Creates Boxplot plot for all classes
Boxplot the data for all classes
ClassBoxplot(Data, Cls, ColorSequence = DataVisualizations::DefaultColorSequence, ClassNames = NULL,All=FALSE, PlotLegend = TRUE, main = 'Boxplot per Class', xlab = 'Classes', ylab = 'Range of Data')
Data
: Vector of the data to be plottedCls
: Vector of class identifiers.ColorSequence
: Optional: The sequence of colors used, Default: DefaultColorSequence()ClassNames
: Optional: The names of the classes. Default: C1 - C(Number of Classes)All
: Optional: adds full data vector for comparison against classesPlotLegend
: Optional: Add a legent to plot. Default: TRUE)main
: Optional: Title of the plot. Default: "ClassBoxPlot""xlab
: Optional: Title of the x axis. Default: "Classes"ylab
: Optional: Title of the y axis. Default: "Data"A List of - ClassData: The DataFrame used to plot
in mode invisible
Michael Thrun, Felix Pape
data(ITS) #please download package from cran #model=AdaptGauss::AdaptGauss(ITS) #Classification=AdaptGauss::ClassifyByDecisionBoundaries(ITS, #DecisionBoundaries = AdaptGauss::BayesDecisionBoundaries(model$Means,model$SDs,model$Weights)) DataVisualizations::ClassBoxplot(ITS,Classification)$ggobject