Description Usage Arguments Value Examples
Pearson's correlation coefficient of bivariate data
1 | cor_df(bivar_data)
|
bivar_data |
A data-frame or matrix, the first two columns of which contain the two vectors for which the correlation coefficient is required |
the Pearson correlation coefficient of bivar_data[,1] and bivar_data[,2]
1 2 | A <- data.frame(x=rnorm(10), y=rnorm(10, mean=2))
cor_df(A)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.