Interpreting the columns (or rows) of a matrix as different groups, draw a boxplot for each.

1 2 |

`x` |
a numeric matrix. |

`use.cols` |
logical indicating if columns (by default) or rows
( |

`...` |
Further arguments to |

A list as for `boxplot`

.

Martin Maechler, 1995, for S+, then **R** package sfsmisc.

`boxplot.default`

which already works nowadays with
data.frames; `boxplot.formula`

, `plot.factor`

which
work with (the more general concept) of a grouping factor.

1 2 3 4 5 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.