View source: R/viz_coordinates.R
| prepare_plot | R Documentation |
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
)
x |
A |
margin |
A length-one |
... |
Further graphical parameters. |
axes |
A length-two |
active |
A |
sup |
A |
principal |
A |
extra_quali |
An optional vector of qualitative data for aesthetics mapping. |
extra_quanti |
An optional vector of quantitative data for aesthetics
mapping. If a single |
color |
The colors for lines and points (will be mapped to
|
fill |
The background colors for points (will be mapped to
|
symbol |
A vector of plotting characters or symbols (will be mapped to
|
size |
A length-two |
line_type |
A specification for the line type (will be mapped to
|
line_width |
A specification for the line type and width (will
be mapped to |
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.
N. Frerebeau
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.