scatter | R Documentation |
Title
scatter(df, y, x)
df |
Default dataset to use for plot. |
y |
Values scattered on y-axis and on left-hand side of regression formula. |
x |
Values scattered on x-axis and on right-hand side of regression formula. |
A ggplot2
object
scatter(mtcars, hp, mpg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.