Rcpp_sample: Sample from levels 0 to m-1 weighted by prob

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Sample from levels 0 to m-1 weighted by prob

Usage

1

Arguments

prob

vector of probabilities

Value

sample of size 1


jonotuke/HMMCPP documentation built on May 19, 2019, 8:34 p.m.