rnorm_truc: Sample from truncated normal distribution

Description Usage Arguments Value

View source: R/utils.R

Description

This function is borrowed from splatter.

Usage

1
rnorm_truc(n, mean, sd, a, b)

Arguments

n

sample size

mean

the mean of the normal distribution

sd

the standard deviation of the normal distribution

a

the minimum value allowed

b

the maximum value allowed

Value

a vector of size n


JINJINT/ESCO documentation built on May 13, 2021, 7:25 p.m.