Description Usage Arguments Value Author(s) See Also Examples
This function plots resting heart rate versus the mentioned columns. It then posts the corelation between those two variable as the title.
1 | plot_cor(dataset, col_names, response_variable)
|
dataset |
This should be a dataset with "Resting Heart Rate" as one of the columns. |
col_names |
A vector of the column names that you are interested in looking at their scatterplot compared to "Resting Heart Rate" |
response_variable |
A character string of the column name of the response variable |
It will return a series of plots, with the correlation as the title between the variables.
Corey Kimzey
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.