R/getag.R

Defines functions getag

#getag() gives tag of all pairwise comparison,
#which presented as "ats.I vs. ats.J" (I,J defined in atsscan)

getag<-function(nats){
      tag<-NULL
      for (i in seq(nats)){
           for (j in seq(nats)){
                if (i!=j) {tag<-rbind(tag,c(i,j))}
                }}
      colnames(tag)<-c("I","J")
      return(tag)
}

Try the SMARTAR package in your browser

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

SMARTAR documentation built on July 31, 2020, 1:06 a.m.