Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

somesamples

Scatter Plots for Understanding Correlations


Description

A cooked data tailor made for the use of scatter plots towards understanding correlations.

Usage

data(somesamples)

Format

A data frame with 200 observations on the following 12 variables.

x1

x of Sample 1

y1

y of Sample 1

x2

x of Sample 2

y2

y of Sample 2

x3

x of Sample 3

y3

y of Sample 3

x4

x of Sample 4

y4

y of Sample 4

x5

x of Sample 5

y5

y of Sample 5

x6

x of Sample 6

y6

y of Sample 6

Examples

data(somesamples)
attach(somesamples)
par(mfrow=c(2,3))
plot(x1,y1,main="Sample I",xlim=c(-4,4),ylim=c(-4,4))
plot(x2,y2,main="Sample II",xlim=c(-4,4),ylim=c(-4,4))
plot(x3,y3,main="Sample III",xlim=c(-4,4),ylim=c(-4,4))
plot(x4,y4,main="Sample IV",xlim=c(-4,4),ylim=c(-4,4))
plot(x5,y5,main="Sample V",xlim=c(-4,4),ylim=c(-4,4))
plot(x6,y6,main="Sample VI",xlim=c(-4,4),ylim=c(-4,4))

ACSWR

A Companion Package for the Book "A Course in Statistics with R"

v1.0
GPL-2
Authors
Prabhanjan Tattar
Initial release
2015-09-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.