corr_match: Sample datasets for correlation problems

corr_matchR Documentation

Sample datasets 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 dataset.

Examples


library(ggplot2)

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

cor(corr_match$x, corr_match$y1)

openintro documentation built on June 22, 2024, 7:37 p.m.