trunc_norm: truncate & normalize

Description Usage Arguments Value

Description

truncates 'pmf' at 'index' values below zero and renormalizes

Usage

1
trunc_norm(pmf, index)

Arguments

pmf

is a numeric vector of probabilities

index

is a numeric vector of values associated with 'pmf'

Value

'pmf' truncated at 'index' values below zero and renormalized


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.