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/splattermodify documentation built on May 19, 2021, 4:05 p.m.