R/checkDuplicates_vect.R

Defines functions checkDuplicates_vect

Documented in checkDuplicates_vect

checkDuplicates_vect <-
function(vect){
    if(sum(duplicated(vect))>=1){
        print("Some duplicates are found:")
        table(vect)                
    }else{return("Everything in this vector is unique")}
}
peterwu19881230/microbialPhenotypes documentation built on March 19, 2021, 6:36 a.m.