This function allows you to generate data with a specific sample correlation to another vector.
1 | Gen.r(x, r)
|
x |
a vector of values |
r |
the sample correlation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.