VaryCorrelation function

Vary Correlation

Vary Correlation

An app to illustrate the effectiveness of the correlation coefficient as a measure of the strength of a linear relationship.

VaryCorrelation(n=300)

Arguments

  • n: number of randomly generated-points in the scatterplot.

Returns

Graphical output.

Note

Uses manipulate in R Studio, and mvrnorm from package MASS.

Examples

## Not run: if(require(manipulate)) VaryCorrelation(n=500) ## End(Not run)

Author(s)

Homer White hwhite0@georgetowncollege.edu

  • Maintainer: Homer White
  • License: GPL (>= 3)
  • Last published: 2020-06-15

Useful links