Learn R Programming

PRECAST (version 1.6.5)

boxPlot: Boxplot for a matrix

Description

Boxplot for a matrix.

Usage

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

Value

Return a ggplot2 object.

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.

Author

Wei Liu

Details

Nothing

See Also

None

Examples

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

Run the code above in your browser using DataLab