bound_dirichlet {thames}R Documentation

Dirichlet parameter bound function

Description

Function calculating membership of a point in the interior of the simplex.

Usage

bound_dirichlet(theta)

Arguments

theta

point to check

Value

Boolean specifying whether theta lies in the interior of the simplex.

Examples

theta_ext <- runif(100)
theta_ins <- runif(100) / 100
bound_dirichlet(theta_ext)
bound_dirichlet(theta_ins)

[Package thames version 0.1.2 Index]