plot_point | R Documentation |
Plot one or more variables as scatterplot.
plot_point(
data,
x,
y,
facet_var = NULL,
facet_scale = "free",
facet_nrow = NULL,
facet_ncol = NULL,
color = NULL,
title = NULL,
subtitle = NULL,
xlab = NULL,
ylab = NULL,
caption = NULL,
point_size = 1.5,
point_type = 16,
point_color = "grey35",
point_alpha = 1,
theme_set = theme_tscv(),
theme_config = list(),
...
)
data |
A |
x |
Unquoted column within |
y |
Unquoted column within |
facet_var |
Unquoted column within |
facet_scale |
Character value defining axis scaling ( |
facet_nrow |
Integer value. The number of rows. |
facet_ncol |
Integer value. The number of columns. |
color |
Unquoted column within |
title |
Title of the plot. |
subtitle |
Subtitle of the plot. |
xlab |
Label for the x-axis. |
ylab |
Label for the y-axis. |
caption |
Caption of the plot. |
point_size |
Numeric value defining the point size. |
point_type |
Numeric value defining the point type. |
point_color |
Character value defining the point color (ignored if |
point_alpha |
Numeric value defining the transparency of the points. |
theme_set |
A complete ggplot2 theme. |
theme_config |
A list with further arguments passed to |
... |
Currently not in use. |
p An object of class ggplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.