means.Rd
This function allows the user to format the aesthetics for the class means or group means.
means (bp, which = NULL, col = NULL, pch = 15, cex = 1, label = FALSE,
label.col = NULL,label.cex = 0.75, label.side = "bottom", label.offset = 0.5,
opacity = 1, shade.darker = TRUE)
an object of class biplot
.
a vector containing the groups or classes for which the means should be displayed, with default bp$g
.
the colour(s) for the means, with default as the colour of the samples.
the plotting character(s) for the means, with default 15
.
the character expansion(s) for the means, with default 1
.
a logical value indicating whether the means should be labelled, with default TRUE
.
a vector of the same length as which
with label colours for the means, with default as the colour of the means.
a vector of the same length as which
with label text expansions for the means, with default 0.75
.
the side at which the label of the plotted mean point appears, with default bottom
. Note that unlike the argument pos
in text()
, options are "bottom
", "left
", "top
", "right
" and not 1
, 2
, 3
, 4
.
the offset of the label from the plotted mean point. See ?text
for a detailed explanation of the argument offset
.
transparency of means.
a logical value indicating whether the colour of the mean points should be made a shade darker than the default or specified colour, with default TRUE
.
The object of class biplot
will be appended with a list called means
containing the following elements:
a vector containing the groups or classes for which the means are displayed.
the colour(s) of the means.
the plotting character(s) of the means.
the character expansion(s) of the plotting character(s) of the means.
a logical value indicating whether means are labelled.
the label colours of the means.
the label text expansions of the samples.
the side at which the label of the plotted mean point appears.
the offset of the label from the plotted mean point.
the opacity level of the plotted points.
The number of classes or groups (defined by group.aes) is indicated as g
. If an argument is not of length g
,
recycling is used.