Package: hlmLab Type: Package Title: Hierarchical Linear Modeling with Visualization and Decomposition Version: 0.1.0 Authors@R: person("Subir", "Hait", email = "haitsubi@msu.edu", role = c("aut", "cre"), comment = c(ORCID = "0009-0004-9871-9677")) Description: Provides functions for visualization and decomposition in hierarchical linear models (HLM) for applications in education, psychology, and the social sciences. Includes variance decomposition for two-level and three-level data structures following Snijders and Bosker (2012, ISBN:9781849202015), intraclass correlation (ICC) estimation and design effect computation as described in Shrout and Fleiss (1979) , and contextual effect decomposition via the Mundlak (1978) specification distinguishing within- and between-cluster components. Supports visualization of random slopes and cross-level interactions following Hofmann and Gavin (1998) and Hamaker and Muthen (2020) . Multilevel models are estimated using 'lme4' (Bates et al., 2015 ). An optional 'Shiny' application enables interactive exploration of model components and parameter variation. The implementation follows the multilevel modeling framework of Raudenbush and Bryk (2002, ISBN:9780761919049). License: MIT + file LICENSE Encoding: UTF-8 Language: en-US Depends: R (>= 4.1.0) Imports: dplyr, ggplot2 (>= 3.4.0), lme4, scales, stats Suggests: shiny, spelling, testthat (>= 3.0.0) Config/testthat/edition: 3 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 URL: https://github.com/causalfragility-lab/hlmLab BugReports: https://github.com/causalfragility-lab/hlmLab/issues Config/pak/sysreqs: cmake make Repository: https://causalfragility-lab.r-universe.dev Date/Publication: 2026-04-21 04:07:56 UTC RemoteUrl: https://github.com/causalfragility-lab/hlmlab RemoteRef: HEAD RemoteSha: 039879e11549fa962880280fe7d9081f41901ad0 NeedsCompilation: no Packaged: 2026-07-20 09:10:12 UTC; root Author: Subir Hait [aut, cre] (ORCID: ) Maintainer: Subir Hait