rdirichlet: Draw from Dirichlet distribution

View source: R/RcppExports.R

rdirichletR Documentation

Draw from Dirichlet distribution

Description

Function to draw from a Dirichlet distribution.

Usage

rdirichlet(delta)

Arguments

delta

A vector, the concentration parameter.

Value

A vector, the sample from the Dirichlet distribution of the same length as delta.

Examples

rdirichlet(delta = 1:3)

loelschlaeger/RprobitB documentation built on Oct. 15, 2024, 11:08 a.m.