altruncnorm: Generate truncated random normal variables where values...

Description Usage Arguments Details Examples

Description

Note that this function is different from the one in the package truncnorm.

Usage

1
altruncnorm(n = 100, a = 0, b = 1, mean = 0, sd = 1)

Arguments

n

the number of variables to be generated.

a

the lower limit of range, positive numeric or positive numeric vector.

b

the upper limit of range, positive numeric or positive numeric vector.

mean

the mean of underlying normal distribution prior to truncation, positive numeric or positive numeric vector.

sd

the standard deviation of underlying normal distribution prior to truncation, positive numeric or positive numeric vector.

Details

Updated 2018-09-28

Examples

1
altruncnorm() # more examples to be added

GarrettLab/seedHealth documentation built on May 15, 2019, 11:47 a.m.