scatter_plot {ezplot} | R Documentation |
scatter plot
Description
create a scatter plot
Usage
scatter_plot(
data,
x,
y,
group = NULL,
palette = ez_col,
size = 11,
point_size = 2.5,
smooth = FALSE,
env = parent.frame()
)
Arguments
data |
A data.frame. |
x |
A named character value. Evaluates to a column. |
y |
A named character value. Evaluates to a column. |
group |
A character value. Evaluates to a column. |
palette |
Colour function. |
size |
theme size for |
point_size |
Numeric. Default is 2. |
smooth |
logical. If |
env |
environment for evaluating expressions. |
Examples
scatter_plot(mtcars, "wt", "hp")
scatter_plot(mtcars, "wt", "hp", "factor(cyl)")
scatter_plot(mtcars, "factor(cyl)", "hp")
[Package ezplot version 0.7.13 Index]