R/cohortID.R

Defines functions cohortID

Documented in cohortID

cohortID <- function(sexed=T){
  Cmatrix <- read.csv(file = system.file("cmatrix.xy.csv", package = "SAGA"), row.names=1)[, -1]
  ids <- cbind(1:72,row.names(Cmatrix))
  if(sexed==F){
    ids <- ids[seq(from=3, to=72, by=3),]
  }
  return(ids)
}

Try the SAGA package in your browser

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

SAGA documentation built on May 30, 2017, 6:42 a.m.