Description Usage Arguments Examples
Do Spearman Function This function lets you perform spearman correlations in dplyr syntax.
1 | do.spearman(x, y)
|
x |
Numeric Predictor |
y |
Numeric Outcome |
1 2 3 4 | mtcars %>%
group_by(cyl) %>%
summarize(pvalue=as.numeric(do.spearman(wt,mpg)[3]),
rho=as.numeric(do.spearman(wt,mpg)[4]))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.