ggScatterPlot {rosetta} | R Documentation |
Bar chart using ggplot
Description
This function provides a simple interface to create a ggplot2::ggplot()
bar chart.
Usage
ggScatterPlot(
x,
y,
jitter = TRUE,
size = 3,
alpha = 0.66,
shape = 16,
color = "black",
fill = "black",
stroke = 1,
plotTheme = ggplot2::theme_bw(),
...
)
Arguments
x , y |
The vectors to display in the scatter plot. Alternatively,
|
jitter |
Whether to jitter the points ( |
size , alpha , shape , color , fill , stroke |
Quick way to set the aesthetics. |
plotTheme |
The theme to apply. |
... |
And additional arguments are passed to |
Value
A ggplot2::ggplot()
plot is returned.
See Also
Examples
rosetta::ggScatterPlot(mtcars$hp, mtcars$mpg);
[Package rosetta version 0.3.12 Index]