scale_region {spicyR} | R Documentation

## Scale constructor for regions

### Description

Region scale constructor.

### Usage

    scale_region(aesthetics = "region", ..., guide = "legend")

    scale_region_manual(..., values)

### Arguments

`aesthetics` | The names of the aesthetics that this scale works with
`...` | Arguments passed on to discrete_scale
`guide` | A function used to create a guide or its name. See guides() for more info.
`values` | a set of aesthetic values to map data values to. If this is a named vector, then the values will be matched based on the names. If unnamed, values will be matched in order (usually alphabetical) with the limits of the scale. Any data values that don't match will be given na.value.

### Value

a ggplot guide

[Package spicyR version 1.0.1 Index]