inst/classifiedName.R

classifiedName <- function(named_vec) {
  index <- which(named_vec == min(named_vec))
  vecnames <- (named_vec %>% dimnames)[[2]]
  vecnames[index]
}
BenBarnard/slidR documentation built on Jan. 2, 2018, 4:32 p.m.