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 Feb. 20, 2020, 5:07 p.m.