scatter {vannstats} | R Documentation |
Simplified Scatterplot
Description
This function plots a scatterplot (scatter) on a given data frame, and adds a fit-line to the data.
Usage
scatter(df, var1, var2, lab = FALSE)
Arguments
df |
data frame to read in. |
var1 |
the dependent/outcome variable, |
var2 |
the independent/predictor variable, |
lab |
logical (default set to |
Examples
data <- mtcars
scatter(data,mpg,wt)
[Package vannstats version 1.3.4.14 Index]