correlate | R Documentation |
New generic function to calculate correlations for one or two objects.
correlate(object, ...)
object |
input of which the class will be used to decide the method. |
... |
additional arguments. |
Corresponding object that contains the correlation results.
pca_cor_samplevar and calc_cor which are the methods included for this generic function.
sample_cors <- correlate(hermes_data)
autoplot(sample_cors)
pca_sample_var_cors <- correlate(calc_pca(hermes_data), hermes_data)
autoplot(pca_sample_var_cors)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.