weighted_sample_min_int: Sample single integer from vector with probability weights...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Sample single integer from vector with probability weights conditional on minimum lower bound.

Usage

1

Arguments

x

Vector of integers to sample from (must be ordered)

weights

Vector of weights

lower

Lower value of x that must be exceeded

Value

Probability weighted sample


mrc-ide/siR documentation built on May 6, 2019, 4:33 p.m.