Prepare Data for Plotting
prepare_plot(
x,
margin,
...,
axes = c(1, 2),
active = TRUE,
sup = TRUE,
principal = TRUE,
extra_quali = NULL,
extra_quanti = NULL,
color = NULL,
fill = FALSE,
symbol = NULL,
size = c(1, 6),
line_type = NULL,
line_width = size
)A data.frame with the following columns:
xCoordinates along x.
yCoordinates along y.
extra_qualiExtra qualitative variable to be highlighted.
extra_quantiExtra quantitative variable to be highlighted.
labelLabel.
supIs supplementary?
colColor for lines and symbols.
bgBackground color for symbols.
pchSymbols.
cexSymbol sizes.
ltyLine types.
lwdLine widths.
A MultivariateAnalysis object.
A length-one numeric vector giving the subscript
which the data will be returned: 1 indicates individuals/rows (the
default), 2 indicates variables/columns.
Further graphical parameters.
A length-two numeric vector giving the dimensions to be
plotted.
A logical scalar: should the active observations be
plotted?
A logical scalar: should the supplementary observations be
plotted?
A logical scalar: should principal coordinates be
returned? If FALSE, standard coordinates are returned.
An optional vector of qualitative data for aesthetics mapping.
An optional vector of quantitative data for aesthetics
mapping. If a single character string is passed, it must be one of
"observation", "mass", "sum", "contribution" or "cos2"
(see augment()).
The colors for lines and points (will be mapped to
extra_quanti or extra_quali; if both are set, the latter has priority).
Ignored if set to FALSE.
The background colors for points (will be mapped to
extra_quanti or extra_quali; if both are set, the latter has priority).
Ignored if set to FALSE.
A vector of plotting characters or symbols (will be mapped to
extra_quali). This can either be a single character or an integer code for
one of a set of graphics symbols. If symbol is a named a named vector,
then the symbols will be associated with their name within extra_quali.
Ignored if set to FALSE.
A length-two numeric vector giving range of possible sizes
(greater than 0; will be mapped to extra_quanti).
Ignored if set to FALSE.
A specification for the line type (will be mapped to
extra_quali). If line_type is a named a named vector, then the line
types will be associated with their name within extra_quali.
Ignored if set to FALSE.
A specification for the line type and width (will
be mapped to extra_quanti).
Ignored if set to FALSE.
N. Frerebeau