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)
}                        

Try the fdth package in your browser

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

fdth documentation built on Nov. 18, 2023, 1:08 a.m.