newsamples.Rd
This function allows formatting changes to new samples.
newsamples (bp, col = "darkorange1", pch = 1, cex = 1, label = FALSE,
label.name = NULL, label.col = NULL,label.cex = 0.75, label.side = "bottom",
label.offset = 0.5, connected = FALSE, connect.col = "black", connect.lty=1,
connect.lwd=1)
an object of class biplot
.
the colour(s) for the new samples, with default darkorange1
.
the plotting character(s) for the new samples, with default 1
.
the character expansion(s) for the new samples, with default 1
.
a logical value indicating whether new samples should be labelled or not, with default FALSE
.
the label names for the new samples.
a vector of the same length as the number of new samples containing the colour(s) for the labels of the new samples, with default the colour of the sample points.
the label text expansion(s) for the new samples, with default 0.75
.
the side at which the label of the plotted 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 point. See ?text
for a detailed explanation of the argument offset
.
a logical value indicating whether samples are connected in order of rows of the data matrix, with default FALSE
.
the colour of the connecting line, with default black
.
the line type of the connecting line, with default 1
.
the line width of the connecting line, with default 1
.
The object of class biplot
will be appended with a list called newsamples
containing the following elements:
the colour(s) of the new samples.
the plotting character(s) of the new samples.
the character expansion(s) of the plotting character(s) of the new samples.
a logical value indicating whether new samples are labelled.
the label colours of the new samples.
the label text expansions of the new samples.
the side at which the label of the plotted point appears.
the offset of the label from the plotted point.
a logical value indicating whether new samples are connected.
the colour of the connecting line.
the line type of the connecting line.
the line width of the connecting line.