R/corXY.R

Defines functions corXY

# ' Correlations between X and Y
corXY<-function(X=X,Y=Y){
  p=ncol(X)
  return(as.numeric(cor(cbind(X,Y))[-(p+1),p+1]))
}

Try the CorReg package in your browser

Any scripts or data that you put into this service are public.

CorReg documentation built on Sept. 6, 2019, 3 a.m.