trRnorm: Truncated Normal Sampling

trRnormR Documentation

Truncated Normal Sampling

Description

Random numbers from truncated univariate normal.

Usage

trRnorm(n, mu = 0, sd = 1, a = -Inf, b = Inf)

Arguments

n

The number of points to sample.

mu

The mean of the distribution.

sd

The standard deviation.

a

The lower truncation point.

b

The upper truncation point.


cds documentation built on April 16, 2025, 1:10 a.m.