convertSBtoNormal: Convert the vector v into the vector theta/phi using the...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

This function converts the input vector v into another vector of probabilities that sum to one based on the stick-breaking equation

Usage

1

Arguments

v

vector of probabilities (these do not have to sum to 1)

Value

this function returns a vector res with probabilities that sum to one


drvalle1/EcoCluster documentation built on Jan. 25, 2022, 12:46 a.m.