Skip to content

Instantly share code, notes, and snippets.

@Robinlovelace
Created May 19, 2017 10:43
Show Gist options
  • Save Robinlovelace/2a37d1577aece48372e91c9d0b017fc9 to your computer and use it in GitHub Desktop.
Save Robinlovelace/2a37d1577aece48372e91c9d0b017fc9 to your computer and use it in GitHub Desktop.
Correlation example
x = 1:9
y = x^2
cor(x, y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment