corr_match: Sample data sets for correlation problems

corr_matchR Documentation

Sample data sets for correlation problems

Description

Simulated data.

Usage

corr_match

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


library(ggplot2)

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

cor(corr_match$x, corr_match$y1)

openintro documentation built on March 18, 2022, 6:17 p.m.