R/util-myproctime.R

Defines functions my.proc.time

Documented in my.proc.time

#' @title Function \code{my.proc.time}
#' @description \code{proc.time()} as a named numeric vector
#' @export
#' @return a named numeric vector version of \code{proc.time()}
my.proc.time = function(){
  t = proc.time()
  x = as.numeric(t)
  names(x) = names(t)
  x
}
wlandau/fbseqComputation documentation built on May 4, 2019, 8:43 a.m.