R/rnorm.R

Defines functions Rnorm

#' @importFrom stats rnorm
Rnorm = function(n) { #nolint
  if (requireNamespace("RcppZiggurat", quietly = TRUE))
    RcppZiggurat::zrnorm(n)
  else
    rnorm(n)
}

Try the benchmarkme package in your browser

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

benchmarkme documentation built on June 12, 2022, 5:06 p.m.