trunc_list: trunc list

Description Usage Arguments Value

Description

truncate pmfs in list at values below zero and renormalize

Usage

1
trunc_list(pmfs, index)

Arguments

pmfs

is a list of numeric vectors of probabilities that sum to 1

index

is a numeric vector of values associated with probs in 'pmfs'

Value

truncated and renormalized pmfs in list


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