getRandomGaussian: Choose a random value from a Gaussian distribution

Description Usage Arguments Author(s)

View source: R/getRandomGaussian.R

Description

the size of careless populations in my simulations have a fairly small mean with a reasonable standard deviation. In this and other scenarios it's possible to select random values less than 0 If we were to round to zero then that would alter its shape. Thus we just resample until we get a valid value

Usage

1

Arguments

mu

the mean of the distribution

sigma

the standard deviation of the distribution

Author(s)

Richard D. Yentes rdyentes@ncsu.edu


ryentes/rdy-dissertation-tools documentation built on Dec. 5, 2019, 10:23 p.m.