add_defaults {ggplot} | R Documentation |
Add default scales to a plot.
add_defaults(p = .PLOT, aesthetics)
p |
plot object, if not specified will use current plot |
aesthetics |
list of unevaluated aesthetics |
You shouldn't need to call this function yourself. If you want to add a
scale to a plot, use add_scale
.
Hadley Wickham <h.wickham@gmail.com>