geom_point {ggplot2} R Documentation

Scatter Points

Description

<br /> The point geom is used to create scatterplots. The scatterplot is most <br /> useful for displaying the relationship between two continuous variables. <br /> It can be used to compare one continuous and one categorical variable, <br /> or two categorical variables, but a variation like geom_jitter(), <br /> geom_count(), or geom_bin2d() is usually more appropriate. A bubblechart <br /> 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

show.legend

[as boolean]

env

[as Environment]

Details

Authors

SMRUCC genomics institute

Value

a scatter plot layer

clr value class

Examples


[Package ggplot2 version 1.0.0.0 Index]