geom_point {ggplot2} R Documentation

Scatter Points

Description


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(),
geom
count(), or geom_bin2d() is usually more appropriate. A bubblechart
is a scatterplot with a third variable mapped to the size of points.

Usage

geom_point(
    mapping = NULL,
    color = NULL,
    shape = NULL,
    stroke = NULL,
    size = 2,
    show.legend = TRUE,
    alpha = 1);

Arguments

color

-

shape

[as LegendStyles]

size

[as double]

show.legend

logical. Should this layer be included in the legends? NA, the default, includes if any aesthetics are mapped. FALSE never includes, And TRUE always includes. It can also be a named logical vector to finely select the aesthetics to display. [as boolean]

env

[as Environment]

Details

Authors

SMRUCC genomics institute

Value

this function returns data object of type ggplotLayer.

clr value class

Examples


[Package ggplot2 version 1.0.0.0 Index]