forked from paul-buerkner/brms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirichlet.Rd
30 lines (26 loc) · 818 Bytes
/
Dirichlet.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/distributions.R
\name{Dirichlet}
\alias{Dirichlet}
\alias{ddirichlet}
\alias{rdirichlet}
\title{The Dirichlet Distribution}
\usage{
ddirichlet(x, alpha, log = FALSE)
rdirichlet(n, alpha)
}
\arguments{
\item{x}{Matrix of quantiles. Each row corresponds to one probability vector.}
\item{alpha}{Matrix of positive shape parameters. Each row corresponds to one
probability vector.}
\item{log}{Logical; If \code{TRUE}, values are returned on the log scale.}
\item{n}{Number of draws to sample from the distribution.}
}
\description{
Density function and random number generation for the dirichlet
distribution with shape parameter vector \code{alpha}.
}
\details{
See \code{vignette("brms_families")} for details on the
parameterization.
}