R/PathNames.R

Defines functions PathNames

Documented in PathNames

PathNames <-
function(rowNum,InputInitializeMat){
ColOnes=which(InputInitializeMat[rowNum,]==1)
if(length(ColOnes)!=0){
PName=names(InputInitializeMat)[ColOnes]
PName=paste(PName,collapse=" ")
PName=paste(row.names(InputInitializeMat)[rowNum],PName,sep=" ON ")
PName=paste0(PName,";","\n")
}else{
PName=""
}


return(PName)
}

Try the PathSelectMP package in your browser

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

PathSelectMP documentation built on May 2, 2019, 3:15 a.m.