R/mfv.fdt_cat.R

Defines functions mfv.fdt_cat

Documented in mfv.fdt_cat

mfv.fdt_cat <- function(x, ...)
{
  fdt <- x

  y <- fdt[, 2]

  posMFV <- grep(max(y),
                 y)

  res <- fdt[posMFV, 2]

  names(res) <- fdt[posMFV, 1]

  return(res)
}                        
jcfaria/fdth documentation built on Nov. 24, 2023, 4:16 a.m.