Learn R Programming

mro (version 0.1.1)

mcr.test: Multiple Correlation Test of Significance

Description

Tests the significance of mutliple correlation coefficient

Usage

mcr.test(x, ld, rd)

Arguments

x
Data Matrix or Variance Covariance or Correlation matrix
ld
Label of dependent Variable
rd
Vector of labels of independent variables

Value

a htest class object

Examples

Run this code
## Example
library(MASS)
mu<-c(10,12,13,14)
sig<-matrix(0,4,4)
diag(sig)<-c(2,1,1,2)
da<-mvrnorm(25,mu,sig)
mcr.test(da,1,c(2:4))

Run the code above in your browser using DataLab