plot_cor: Multiple Plotting with Correlation as Title

Description Usage Arguments Value Author(s) See Also Examples

Description

This function plots resting heart rate versus the mentioned columns. It then posts the corelation between those two variable as the title.

Usage

1
plot_cor(dataset, col_names, response_variable)

Arguments

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

Value

It will return a series of plots, with the correlation as the title between the variables.

Author(s)

Corey Kimzey

See Also

plot_lms

Examples

1
2
data(tester)
plot_cor(tester, col_names = c("Inf", "Computing"), response_variable = "Resting Heart Rate")

coreykimzey/heartrate documentation built on May 28, 2019, 7:47 p.m.