rdirichlet {fabPrediction} | R Documentation |
Generate a random sample from a Dirichlet distribution
Description
Generate a random sample from a Dirichlet distribution
Usage
rdirichlet(gamma)
Arguments
gamma |
Prior concentration vector of length K |
Value
a vector of length K that is a random sample from a Dirichlet distribution
[Package fabPrediction version 1.0.4 Index]