multiple.cor {AATtools} | R Documentation |
ymat
with the variable x
Multiple correlation
Computes the multiple correlation coefficient
of variables in ymat
with the variable x
multiple.cor(x, ymat, use = "everything")
x |
Either a matrix of variables whose multiple correlation with each other is to be estimated; or a vector of which the multiple correlation with variables in |
ymat |
a matrix or data.frame of variables of which the multiple correlation with |
use |
optional character indicating how to handle missing values (see cor) |
The multiple correlation coefficient
https://www.personality-project.org/r/book/chapter5.pdf
multiple.cor(mtcars[,1],mtcars[,2:4])