R/log_factorial.R

#' compute the log factorial
#' @param n integer
#' @return log factorial of the given integer

log_factorial <- function(n){
  return(sum(log(1:n)))
}
qunhualilab/gIDR documentation built on May 14, 2019, 10:38 a.m.