boxPlot: Boxplot for a matrix

View source: R/Visualization.R

boxPlotR Documentation

Boxplot for a matrix

Description

Boxplot for a matrix.

Usage

  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.

Note

nothing

Author(s)

Wei Liu

See Also

None

Examples

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

PRECAST documentation built on May 29, 2024, 3 a.m.