The spuriouscorrelations R package version 0.2 is now on CRAN. It preserves datasets from Tyler Vigen's famous spurious correlations website (archived in 2023) for educational use. The package includes examples like the correlation between pool drownings and Nicolas Cage films, with code demonstrations for plotting, reshaping data to long format, and standardizing variables using base R and the tinyplot library.
55 Impressions