R: A Bayesian Approach for Clustering Constant-Wise Change-Point Data

# A Bayesian Approach for Clustering Constant-Wise Change-Point Data

## Documentation for package ‘BayesCPclust’ version 0.1.0

- DESCRIPTION file
- Package README

## Help Pages

data | Error free data for all examples.
data_a | Error free data for all examples.
full_cond | Full conditional for lambda
gibbs_alg | Gibbs sampler algorithm for simulated scenarios or real datasets
logsumexp | Transfor a vector with over- or underflow
Mode | Compute the mode of a numerical vector
pk | Probability mass function for truncated poisson
possigma2n | Full conditional function for sigma2
postalpha0 | Posterior for alpha0
postalphak | Full conditional for alphak
postK | Marginal probability of K
postK_mk | Marginal probability of K per bin
postmk | Marginal probability of m1,m2,m3,...,mk+1
qn0 | Mixing probability for creating new cluster
qn0_mk | Mixing probability for creating new cluster per bin
qnj | Mixing probability for getting assigned to an existing cluster
run_gibbs | Runs the Gibbs sampler algorithm using using initial values for the parameters
update_lambda | Update equation for lambda