alpha <- c(2, 3, 4)
i <- 2 # Index of the known parameter
xi <- 0.5 # Known value of the second parameter
# Compute the conditional alpha parameters with full output
cond_dirichlet(alpha, i, xi, full_output = TRUE)
Run the code above in your browser using DataLab