VaryCorrelation | R Documentation |
An app to illustrate the effectiveness of the correlation coefficient as a measure of the strength of a linear relationship.
VaryCorrelation(n=300)
n |
number of randomly generated-points in the scatterplot. |
Graphical output.
Uses manipulate
in R Studio, and mvrnorm
from package MASS
.
Homer White hwhite0@georgetowncollege.edu
## Not run:
if(require(manipulate)) VaryCorrelation(n=500)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.