Learn R Programming

ggplot2 (version 0.9.0)

discrete_scale: Discrete scale constructor.

Description

Discrete scale constructor.

Usage

discrete_scale(aesthetics, scale_name, palette,
    name = NULL, breaks = waiver(), labels = waiver(),
    legend = NULL, limits = NULL, expand = c(0, 0),
    na.value = NA, drop = TRUE, guide = "legend")

Arguments