add_defaults {ggplot} | R Documentation |
Add default scales to a plot.
add_defaults(p = .PLOT, new)
p |
plot object, if not specified will use current plot |
new |
character vector of needed scales to add, see scales for possible options |
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>