multiple.cor {AATtools} | R Documentation |
Multiple correlation
Computes the multiple correlation coefficient
of variables in ymat
with the variable x
Description
Multiple correlation
Computes the multiple correlation coefficient
of variables in ymat
with the variable x
Usage
multiple.cor(x, ymat, use = "everything")
Arguments
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) |
Value
The multiple correlation coefficient
See Also
https://www.personality-project.org/r/book/chapter5.pdf
Examples
multiple.cor(mtcars[,1],mtcars[,2:4])
[Package AATtools version 0.0.2 Index]