correlation_examples: Random variates with specific correlation coefficients

Description Usage Format Examples

Description

This dataset contains six sets of 50 x-y pairs with correlation coefficients 0.2, 0.6, 0.9, -0.2, -0.6, -0.9. Each x and y variable is drawn from a standard normal distribution.

Usage

1

Format

An object of class tbl_df (inherits from tbl, data.frame) with 300 rows and 3 columns.

Examples

1
2
ggplot(correlation_examples, aes(x, y)) + 
  geom_point() + facet_wrap(~r)

clauswilke/dviz.supp documentation built on Aug. 25, 2020, 2:12 a.m.