asp: Aspects

Description Usage Arguments Details Figures Info Examples

View source: R/aspects.R

Description

Chart's aspects, similar to ggplot2's aesthetics.

Usage

1
asp(x, y, ...)

Arguments

x, y, ...

List of name value pairs giving aspects to map to variables. The names for x and y aspects are typically omitted because they are so common; all other aspects must be named.

Details

Aspects can be applied to figures and to info, note that those can be inherited in the former but not the latter.

Figures

Info

Examples

1
2
g2(temp, asp(month, temp, color = city)) %>% 
  fig_interval(adjust("dodge"))

JohnCoene/g2r documentation built on March 6, 2021, 8:11 p.m.