rhalfnorm: Random number generator half Normal

View source: R/rhalfnorm.R

rhalfnormR Documentation

Random number generator half Normal

Description

Computes a random number.

Usage

rhalfnorm(n, mean = 0, sd = 1)

Details

For internal use

Examples


## The function is currently defined as
function(n, mean = 0, sd = 1) {
  abs(rnorm(n, mean, sd))
}

konkam/BNPdensity documentation built on March 14, 2024, 7:15 a.m.