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)

RprobitB documentation built on May 29, 2024, 7:59 a.m.