bound_dirichlet: Dirichlet parameter bound function

View source: R/bound_par_cor.R

bound_dirichletR 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)

thames documentation built on Aug. 8, 2025, 7:25 p.m.