Description Usage Arguments Value Examples
Simulates bivariate correlation of specified n, means, sd, and rho
1 | SimCor(n, xmean, xsd, ymean, ysd, rho)
|
n |
number of datapoints to simulate |
xmean |
mean of x variable |
xsd |
standard deviation of x variable |
ymean |
mean of y variable |
ysd |
standard deviation of y variable |
rho |
intended correlation |
dataframe of correlated x and y variables
1 | SimCor(n=20, xmean=10, xsd=5, ymean=1, ysd=.5, rho=.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.