geom_point {ggplot2} | R Documentation |
The point geom is used to create scatterplots. The scatterplot is most
useful for displaying the relationship between two continuous variables.
It can be used to compare one continuous and one categorical variable,
or two categorical variables, but a variation like geomjitter(),
geomcount(), or geom_bin2d() is usually more appropriate. A bubblechart
is a scatterplot with a third variable mapped to the size of points.
geom_point(
mapping = NULL,
color = NULL,
shape = NULL,
stroke = NULL,
size = 2,
show.legend = TRUE,
alpha = 1);