R/plotcim.explore.R

Defines functions plotcim.explore

Documented in plotcim.explore

plotcim.explore <- function(matX,matY) {
labelY <- colnames(matY)  
mat.sim <- matrix(NA,ncol=dim(matX)[2],nrow=length(labelY))
for (i in 1:dim(matX)[2]){
  for (j in 1:length(labelY)){
    mat.sim[j,i] <- cor(matX[,i],matY[,j])
  }}
cim(mat.sim,row.names = labelY,col.names = 1:dim(matX)[2])
}

Try the R2GUESS package in your browser

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

R2GUESS documentation built on May 2, 2019, 1:47 p.m.