Package: normalblockr
Type: Package
Title: Gaussian Models with Latent Clustering of Variables
Version: 1.0.0
Authors@R: c(
  person("Jeanne", "Tous", role = "aut", email = "jeanne.tous@inrae.fr"),
  person("Julien", "Chiquet", role = c("aut", "cre"), email = "julien.chiquet@inrae.fr",
      comment = c(ORCID = "0000-0002-3629-3429")),
  person("Nestor",  "Ngalala Manguitini", role = "aut")
      )
Description: Implements two families of Gaussian models with a latent
    clustering of the variables, for multivariate data whose variables
    co-vary, or respond to covariates, in groups. In the Normal-Block-Var
    model, the clusters structure the covariance through latent variables,
    and a network is inferred between the clusters rather than between the
    variables, which reduces its dimension and eases its interpretation
    (Tous and Chiquet (2026) <doi:10.1016/j.csda.2026.108347>). In the
    Normal-Block-Mean model, the variables of a cluster share the same
    regression profile, and a network between the variables can be inferred
    from their residual covariance. In both families, the clustering is
    either known or inferred, the network can be sparse (graphical lasso),
    and zero-inflated variants handle data with an excess of zeros. The
    parameters are estimated by expectation-maximization or variational
    expectation-maximization algorithms, accelerated by squared
    extrapolation, and a split and merge procedure improves the fits of a
    collection of models. The number of clusters, the sparsity of the
    network and the shape of the covariance are chosen with penalized
    criteria, cross-validation or stability selection.
License: GPL (>= 3)
URL: https://github.com/jchiquet/normalblockr,
        https://jchiquet.github.io/normalblockr/
BugReports: https://github.com/jchiquet/normalblockr/issues
Encoding: UTF-8
LazyData: true
Depends: R (>= 4.1.0)
Imports: Matrix, purrr, R6, ggplot2, igraph, sbm, corrplot, MASS,
        stats, Rcpp
LinkingTo: Rcpp, RcppArmadillo
Suggests: testthat (>= 3.0.0), aricode, covr, rmarkdown, pheatmap,
        paletteer, ggthemes, knitr
Config/testthat/edition: 3
VignetteBuilder: knitr
Config/roxygen2/version: 8.1.0
NeedsCompilation: yes
Packaged: 2026-11-23 15:12:20 UTC; jchiquet
Author: Jeanne Tous [aut],
  Julien Chiquet [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-3629-3429>),
  Nestor Ngalala Manguitini [aut]
Maintainer: Julien Chiquet <julien.chiquet@inrae.fr>
Repository: CRAN
Date/Publication: 2026-11-23 17:30:03 UTC
Built: R 4.6.1; aarch64-apple-darwin23; 2026-11-23 23:43:31 UTC; unix
Archs: normalblockr.so.dSYM
