rcategorical: rcategorical

Description Usage Arguments

View source: R/RcppExports.R

Description

Sample a categorical variable from an unnormalized proportion

Usage

1

Arguments

p

a vector of (possoble unnormalized) probabilities to sample from


MansMeg/PerspectiveTopicModel documentation built on June 30, 2020, 9:20 a.m.