| entropy | Calculate relative entropy |
| get_initial | Obtain initial values for estimation procedure. |
| mu_t | estimate mu(t) |
| PreprocessData | data pre-processing |
| p_D | Estimate P(D|xi, Z, C) |
| p_xi | Estimate P(xi | Z, C) |
| SLCARE | Semiparametric Latent Class Analysis for Recurrent Event |
| SLCARE_simdat | Simulated dataset |
| SLCA_predict | Posterior prediction for model checking |
| update_alpha | Estimation algorithm - updating alpha |
| update_beta | Estimation algorithm - updating beta |