Assign colors/shapes/patterns to data values using ggplot2 or ggpattern scales.

ai.scales(..., exec = TRUE)

Arguments

...

aesInput values, arbitrarily nested in lists. Other aes_string arguments can go here as well and will override those from aesInputs.

exec

If exec is TRUE (the default), returns a ggproto object, a list describing what functions should be run with what parameters is returned.

Value

A list of ggproto objects, or a descriptive list thereof if exec=FALSE.

See also

Other aesInput: aesInput(), ai.aes(), ai.column(), ai.flatten(), ai.subset(), ai.values()