Function for generating a plot of bivariate normal with a given correlation between 2 variables. Created for the purpose of generating correlation plots in the handout material. Not intended for other purposes.
1 |
n |
number of point in scatter |
cor |
correlation between the two variables |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.