Description Usage Arguments Value Examples
Scatter plot between two numerical columns of a data frame
1 | plot_scatter(.data, .num1, .num2, .by = NULL)
|
.data |
a data frame |
.num1 |
unquoted name of numercial column for x-axis |
.num2 |
unquoted name of numercial column for y-axis |
.by |
default |
a ggplot
1 2 3 4 5 | # With .by = NULL
plot_scatter(iris, Sepal.Length, Sepal.Width)
# With color by groups
plot_scatter(iris, Sepal.Length, Sepal.Width, .by = Species)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.