Boxplot for a matrix.

boxPlot(mat, ylabel='ARI', cols=NULL, ...)

Arguments

mat

a matrix with columns.

ylabel

an optional string, the name of ylabel.

cols

colors used in the plot

...

Other parameters passed to geom_boxplot.

Details

Nothing

Value

Return a ggplot2 object.

Author

Wei Liu

Note

nothing

See also

None

Examples

   mat <- matrix(runif(100*3, 0.6, 1), 100, 3)
   colnames(mat) <- paste0("Method", 1:3)
   boxPlot(mat)