Package: clustGLMM
Title: Model-Based Clustering of Mixed-Type Longitudinal Data
Version: 1.0.1
Encoding: UTF-8
Authors@R: c(person("Jan", "Vavra", role = c("aut", "cre"),
                    email = "vavraj@karlin.mff.cuni.cz",
                    comment = c(ORCID = "0000-0003-0068-5356")),
             person("Bettina", "Gruen", role = c("aut"),
                    email = "bettina.gruen@R-project.org",
                    comment = c(ORCID = "0000-0001-7265-4773")),
             person("Gertraud", "Malsiner-Walli", role = c("aut"),
                    email = "gertraud.malsiner-walli@wu.ac.at",
                    comment = c(ORCID = "0000-0002-1213-4749")),
             person("Arnost", "Komarek", role = c("aut"),
                    email = "komarek@karlin.mff.cuni.cz",
                    comment = c(ORCID = "0000-0001-8778-3762")))
Maintainer: Jan Vavra <vavraj@karlin.mff.cuni.cz>
Description: Provides tools for Bayesian estimation and inference for modelling clusterwise multivariate regression models for numeric, count, binary, ordinal and count outcomes observed repeatedly on the same units and where possible relations among outcomes are captured through a joint distribution of random effects. The clusters are defined through cluster-specific parameters, which the analyst can choose, e.g., with respect to the regression coefficients. In particular, the model specification for each regression model via the formula is specific to the outcome and consists of four parts: (1) fixed - regression coefficients common to all clusters, (2) group - group-specific regression coefficients, (3) random - random effects specific for each unit, (3) offset - name of an offset variable (if needed). Estimation is performed using MCMC sampling combining Gibbs and Metropolis-Hastings steps. Post-processing tools allow to assess convergence and address label switching and provide visual diagnostics. Units may be classified based on sampled allocation indicators or by exploiting the posterior distribution of the classification probabilities. For more details see Vavra et al. (2024) <doi:10.1007/s11222-023-10304-5>. 
License: GPL-2
Imports: coda, colorspace, gaussquad, graphics, grDevices, HDInterval,
        MASS, methods, mvtnorm, nnet, RcppHungarian, splines, stats,
        utils
Depends: R (>= 4.0.0)
Suggests: knitr, rmarkdown, bookdown, kableExtra, dplyr, DiagrammeR,
        DiagrammeRsvg, rsvg, mclust, testthat (>= 3.0.0)
VignetteBuilder: knitr
NeedsCompilation: yes
Packaged: 2026-08-19 12:28:30 UTC; vavraj
Author: Jan Vavra [aut, cre] (ORCID: <https://orcid.org/0000-0003-0068-5356>),
  Bettina Gruen [aut] (ORCID: <https://orcid.org/0000-0001-7265-4773>),
  Gertraud Malsiner-Walli [aut] (ORCID:
    <https://orcid.org/0000-0002-1213-4749>),
  Arnost Komarek [aut] (ORCID: <https://orcid.org/0000-0001-8778-3762>)
Repository: CRAN
Date/Publication: 2026-08-19 16:00:14 UTC
Built: R 4.5.3; x86_64-w64-mingw32; 2026-08-29 00:18:00 UTC; windows
Archs: x64
