View source: R/EBV_functions.R
cor_var | R Documentation |
simulating correlated variable
cor_var(x, cor)
x |
Vector of values to which the other vector needs to be correlated |
cor |
correlation |
Returns a vector with values that are correlated to vector x.
cor_var(c(2,4,2,2,6,7,5,6,6,7,9,4,5), 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.