Learn R Programming

imputeR (version 2.2)

orderbox: Ordered boxplot for a data matrix

Description

Ordered boxplot for a data matrix

Usage

orderbox(x, names = c("method", "MCE"), order.by = mean,
  decreasing = TRUE, notch = TRUE, col = "bisque", mar = c(7, 4.1,
  4.1, 2), ...)

Arguments

x

a matrix

names

a length two character vector, default is c("method, "MCE")

order.by

which statistics to order by, default is mean

decreasing

default is TRUE, the boxplot will be arranged in a decreasing order

notch

logical, default is TRUE

col

color for the boxplots, default is "bisque".

mar

the margin for the plot, adjust it to your need.

...

some other arguments that can be passed to the boxplot function

Value

a boxplot

Examples

Run this code
# NOT RUN {
data(parkinson)
# }
# NOT RUN {
orderbox(parkinson)
# }

Run the code above in your browser using DataLab