mean_vs_mean | R Documentation |
Approximate a linear fit by the line connecting the midpoints of the lower half of the data and the upper half of the data
mean_vs_mean(formula, data = parent.env(), stat_fun = mean)
formula |
a formula y ~ x |
data |
a data frame containing the variables in the formula |
stat_fun |
either |
mean_vs_mean(mpg ~ hp, data = mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.