r_left_censored_norm: Returns draws from a normal distribution with a lower...

View source: R/r_left_censored_norm.R

r_left_censored_normR Documentation

Returns draws from a normal distribution with a lower censoring limit of lod (limit of detection)

Description

Returns draws from a normal distribution with a lower censoring limit of lod (limit of detection)

Usage

r_left_censored_norm(n, mean = 0, sd = 1, lod = 0.005, lower = 0, upper = 1)

Arguments

n

Number of samples to take

mean

Mean of censored distribution. Default 0.

sd

Standard deviation of censored distribution. Default 1.

lod

Bound below which to censor. Default 0.005.

lower

Lower bound on censored distribution. Default 0.

upper

Upper bound on censored distribution. Default 1.

Value

A vector of samples from the specified censored distribution.


httk documentation built on Sept. 11, 2024, 9:32 p.m.