getTruncatedNormal: Generate a random sample from a truncated normal...

View source: R/getTruncatedNormal.R

getTruncatedNormalR Documentation

Generate a random sample from a truncated normal distribution.

Description

Generate a random sample from a truncated normal distribution.

Usage

getTruncatedNormal(mean, variance)

Arguments

mean

the mean of the normal distribution

variance

The variance of the normal distribution

Value

A random sample from the specified truncated normal distribution

Examples


getTruncatedNormal(mean=3,variance=100)



andrewhooker/PopED documentation built on Nov. 23, 2023, 1:37 a.m.