make_scatter_plot1 | R Documentation |
Create a scatter plot to examine relationship between two numeric variables.
make_scatter_plot1(data, num_var1, num_var2, trend = "lm", label_fmt = TRUE)
data |
dataset that contains the variables |
num_var1 |
name of the numeric variable as a string |
num_var2 |
name of the numeric variable as a string |
trend |
string represents smoothing method to use |
label_fmt |
Boolean to indicate whether plot labels should be formatted |
none
make_scatter_plot1(ggplot2::diamonds, "carat", "price")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.