powered by
Enables to inspect the boxplots for multiple variables in ggplot2 syntax. Each boxplot also has a point for the mean of the variable.
InspectBoxplots(Data, Names,Means=TRUE)
The ggplot object of the boxplots
Matrix containing the data. Each column is one variable.
Optional: Names of the variables. If missing the columnnames of data are used.
Optional: TRUE: with mean, FALSE: Only median.
Felix Pape
x <- cbind(A = rnorm(200, 1, 3), B = rnorm(100, -2, 5)) InspectBoxplots(x)
Run the code above in your browser using DataLab