gboxplot | R Documentation |
Produce a box-and-whisker plot(s) of the given (grouped) values.
gboxplot(x, ...)
## Default S3 method:
gboxplot(x, ..., range = 1.5, width = NULL,
varwidth = FALSE, notch = FALSE, outline = TRUE, names, plot = TRUE,
border = par("fg"), col = NULL, log = "", pars = list(boxwex = 0.8,
staplewex = 0.5, outwex = 0.5), horizontal = FALSE, add = FALSE,
at = NULL, grid = TRUE, col.grid = "grey90", col.acc = "white")
## S3 method for class 'formula'
gboxplot(formula, data = NULL, ..., subset,
na.action = NULL, grid = TRUE, col.grid = "grey90", col.acc = "white")
x |
for specifying data from which the boxplots are to be
produced. Either a numeric vector, or a single list containing such
vectors. Additional unnamed arguments specify further data
as separate vectors (each corresponding to a component boxplot).
|
... |
For the For the default method, unnamed arguments are additional data
vectors (unless |
range |
this determines how far the plot whiskers extend out
from the box. If |
width |
a vector giving the relative widths of the boxes making up the plot. |
varwidth |
if |
notch |
if |
outline |
if |
names |
group labels which will be printed under each boxplot. Can be a character vector or an expression (see plotmath). |
plot |
if |
border |
an optional vector of colors for the outlines of the
boxplots. The values in |
col |
if |
log |
character indicating if x or y or both coordinates should be plotted in log scale. |
pars |
a list of (potentially many) more graphical parameters,
e.g., |
horizontal |
logical indicating if the boxplots should be
horizontal; default |
add |
logical, if true add boxplot to current plot. |
at |
numeric vector giving the locations where the boxplots should
be drawn, particularly when |
grid |
logical; if |
col.grid |
|
col.acc |
|
formula |
a formula, such as |
data |
a data.frame (or list) from which the variables in
|
subset |
an optional vector specifying a subset of observations to be used for plotting. |
na.action |
a function which indicates what should happen
when the data contain |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.