View source: R/functions_corelation.R
covariance | R Documentation |
Calculates covariance of two EDA objects. For numeric-type EDAs,Pearson, Spearman and Kendall covariances are available. Factor-type EDA objects are converted to the numeric ones prior to analysis.
covariance(eda_object, y, type = c("pearson", "spearman", "kendall"), ...)
eda_object |
an EDA object, created by |
y |
an EDA object, created by |
type |
which covariance is to be calculated: Pearson (pearson), Spearman (spearman), or Kendall TauB (kendall). Defaults to 'pearson'. |
.... |
extra arguments passed to the correlation computing function ( |
an eTest object with the covariance coefficient.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.