Graphical Interaction Models
Overview
Provides the following types of models: Models for contingency tables (i.e. log-linear models) Graphical Gaussian models for multivariate normal data (i.e. covariance selection models) Mixed interaction models. Documentation about 'gRim' is provided by vignettes included in this package and the book by Højsgaard, Edwards and Lauritzen (2012, doi:10.1007/978-1-4614-2299-0); see 'citation("gRim")' for details.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-10
Show 5 earlier changesHide 5 earlier changes
- WARNING12 OK, 1 WARNING2026-05-09
- OK11 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 31
- Examples that run
- 95%20 run in a plain check · 1 hold no code
- Exported functions with examples
- 71%
- Documented parameters
- 94%
- Return-value docs
- 61%
- Help pages citing references
- 6%
Downloads
Dependencies
Installing gRim adds 48 packages (29 with compiled code, 51 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, igraph 4.8 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.3.4Latest
- 0.3.32024-07-19 · diff ↗
- 0.3.22024-06-10 · diff ↗
- 0.3.12024-06-07 · diff ↗ ·
removed 1 export
%>%added 34 exports
as_K2amat, as_K2graph, as_amat2emat, as_elist2emat, as_emat2amat, as_emat2cq, as_emat2elist, as_emat2glist, as_emat2graph, as_emat2igraph, as_emat_complement, as_glist2cq, as_glist2emat, as_glist2graph, as_glist2igraph, as_glist2out_edges, as_sparse, concentration, emat_compare, emat_complement, emat_sort, fast_cov, fit_ggm_grips, generate_n01, glance.gips_fit_class, impose_zero, model_line, model_loop, model_random, model_random_tree and 4 more - RR 4.4.0 released · 2024-04-24
- 0.3.02023-10-02 · diff ↗
- 0.2.112023-08-11 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.2.102022-10-16 · diff ↗
- unarchivedReturned to CRAN2022-05-12
- 0.2.92022-05-12 · diff ↗
- RR 4.2.0 released · 2022-04-22
- archivedRemoved from CRAN2022-04-06check issues were not corrected in time LOGIC2 issues
- 0.2.7
Show 34 earlier eventsHide 34 earlier events
- RR 4.1.0 released · 2021-05-18
- 0.2.52020-07-29 · diff ↗
- 0.2.42020-06-26 · diff ↗
- unarchivedReturned to CRAN2020-06-20
- 0.2.3
- archivedRemoved from CRAN2020-05-11check problems were not corrected in time Ongoing with TeXLive 2020
- RR 4.0.0 released · 2020-04-24
- 0.2.12020-02-21 · diff ↗ ·
removed 1 export
pattern:^[^\\.]added 33 exports
%>%, CGstats, backward, ciTest, ciTest_df, ciTest_mvn, ciTest_ordinal, cmod, dim_loglin, dim_loglin_decomp, dmod, effloglin, forward, getEdges, getInEdges, getOutEdges, ggmfit, ggmfitr, mmod, modify_glist, parm_CGstats2mmod, parm_ghk2phk, parm_ghk2pms, parm_moment2pms, parm_phk2ghk, parm_phk2pms, parm_pms2ghk, parm_pms2phk, testEdges, testInEdges and 3 more - RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.2-02017-03-31 · diff ↗
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 0.1-172013-08-08 · diff ↗
- 0.1-162013-05-30 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 0.1-152012-12-28 · diff ↗
- 0.1-142012-10-07 · diff ↗
- 0.1-132012-09-10 · diff ↗
- 0.1-122012-08-08 · diff ↗
- 0.1-92012-06-04 · diff ↗
- 0.1-82012-04-01 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 0.1.72012-01-28 · diff ↗
- 0.1.62012-01-19 · diff ↗
- 0.1.42011-12-30 · diff ↗
- 0.1.32011-12-04 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 0.1.22011-09-08 · diff ↗
- 0.1.12011-08-01 · diff ↗
- 0.1.02011-07-23
- RR 2.13.0 released · 2011-04-13
Package metadata
- First published
- 2011-07-23
- Total releases
- 29 / 15 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.2.0
- Download size
- 2.6 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("gRim")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1007/978-1-4614-2299-0.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.