Learn R Programming

tigerstats (version 0.3.2)

VaryCorrelation: Vary Correlation

Description

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

Usage

VaryCorrelation(n=300)

Arguments

n

number of randomly generated-points in the scatterplot.

Value

Graphical output.

Examples

Run this code
# NOT RUN {
if(require(manipulate)) VaryCorrelation(n=500)
# }

Run the code above in your browser using DataLab