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