Create a new ggplot — ggplot • ggplot2
https://ggplot2.tidyverse.org/reference/ggplot.html
Details. ggplot() is used to construct the initial plot object, and is almost always followed by + to add component to the plot. There are three common ways to invoke ggplot():. ggplot(df, aes(x, y, other aesthetics)) ggplot(df) ggplot() The first method is recommended if all layers use the same data and the same set of aesthetics, although this method can also be used to add a layer …
DA: 90 PA: 23 MOZ Rank: 66