correlRatio | R Documentation |
correlRatio
computes the correlation ratio between
a quantitative variable and a qualitative variable
correlRatio(X, y)
X |
a vector containing the quantitative variable. |
y |
a vector containing the qualitative variable (e.g. a factor). |
The value of the correlation ratio
Bertrand Iooss
V. Chabridon, L. Clouvel, B. Iooss, M. Il Idrissi and F. Robin, 2022, Variance-based importance measures in the linear regression context: Review, new insights and applications, Preprint
x <- runif(100)
y <- round(x)
correlRatio(x,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.