Description Usage Arguments Value Examples
Takes a dataframe and returns a scatterplot of chosen numeric features in the dataset
1 | plot_scatter(data, xcol, ycol, color, title = NULL, size = 20)
|
data |
A data frame or a tibble. |
xcol |
A numerical column . |
ycol |
A numerical column. |
color |
A categorical column. |
title |
An optional character variable spefified by users. |
size |
An optional integer variable spefified by users for the text size of all labels. |
A scatter plot.
1 2 | plot_scatter(iris, xcol = Sepal.Length, ycol = Sepal.Width,
color = Species, title = "Sepal.Length vs Sepal.Width", size = 20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.