corr_match: Sample data sets for correlation problems

Description Usage Format Source Examples

Description

Simulated data.

Usage

1

Format

A data frame with 121 observations on the following 9 variables.

x

a numeric vector

y1

a numeric vector

y2

a numeric vector

y3

a numeric vector

y4

a numeric vector

y5

a numeric vector

y6

a numeric vector

y7

a numeric vector

y8

a numeric vector

Source

Simulated data set.

Examples

1
2
3
4
5
6
library(ggplot2)

ggplot(corr_match, aes(x = x, y = y1)) +
  geom_point()

cor(corr_match$x, corr_match$y1)

openintro documentation built on April 19, 2021, 5:06 p.m.