hpgl_cor | R Documentation |
Take covRob's robust correlation coefficient and add it to the set of correlations available when one calls cor(). I should reimplement this using S4.
hpgl_cor(df, method = "pearson", ...)
df |
Data frame to test. |
method |
Correlation method to use. Includes pearson, spearman, kendal, robust. |
... |
Other options to pass to stats::cor(). |
Some fun correlation statistics.
[robust]
## Not run:
hpgl_cor(df = df)
hpgl_cor(df = df, method = "robust")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.