InspectBoxplots | R Documentation |
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)
Data |
Matrix containing the data. Each column is one variable. |
Names |
Optional: Names of the variables. If missing the columnnames of data are used. |
Means |
Optional: TRUE: with mean, FALSE: Only median. |
The ggplot object of the boxplots
Felix Pape
x <- cbind(A = rnorm(200, 1, 3), B = rnorm(100, -2, 5))
InspectBoxplots(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.