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:
x
Coordinates along x.
y
Coordinates along y.
extra_quali
Extra qualitative variable to be highlighted.
extra_quanti
Extra quantitative variable to be highlighted.
label
Label.
sup
Is supplementary?
col
Color for lines and symbols.
bg
Background color for symbols.
pch
Symbols.
cex
Symbol sizes.
lty
Line types.
lwd
Line widths.
N. Frerebeau
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.