Skip to content

Graphical Interaction Models

0packages dependsuggested by 1
7.2Kdownloads / year
11.5%test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 8.3 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 0.3.4
READMEYes · 8 wordsVignettesYes · 1 · dynamicNEWSYes · 33% structuredCitation fileYes · cites a publicationWebsiteYes
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

7.2K
CRAN downloads in the past year
Rank #4,530 · ~20/day · ~599/mo
Daily download trend is not available in this view yet.
67430 days
1.8K90 days
7.2K1 year
Compare downloads with other packages →
Also on384 r2u17 autocran141 c2d4u

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

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.

Depends (4)
R >= 4.2.0methodsgRaingRbase
Imports (7)
doByigraphstats4glueMatrixMASSRcpp
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since at least 0.2-0 (2017)
Releases (29)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.4Latest
    record
    2024-10-15 · current release · diff ↗
  • 0.3.3
    record
    2024-07-19 · diff ↗
  • 0.3.2
    record
    2024-06-10 · diff ↗
  • 0.3.1
    record
    2024-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
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.0
    record
    2023-10-02 · diff ↗
  • 0.2.11
    record
    2023-08-11 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.10
    record
    2022-10-16 · diff ↗
  • unarchivedReturned to CRAN
    2022-05-12
  • 0.2.9
    record
    2022-05-12 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • archivedRemoved from CRAN
    2022-04-06
    check issues were not corrected in time LOGIC2 issues
  • 0.2.7
    record
    2022-04-02 · diff ↗ ·
    added 1 export
    getmi
Show 34 earlier eventsHide 34 earlier events
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.5
    record
    2020-07-29 · diff ↗
  • 0.2.4
    record
    2020-06-26 · diff ↗
  • unarchivedReturned to CRAN
    2020-06-20
  • 0.2.3
    record
    2020-06-20 · diff ↗ ·
    added 2 exports
    extract_cmod_data, parse_gm_formula
  • archivedRemoved from CRAN
    2020-05-11
    check problems were not corrected in time Ongoing with TeXLive 2020
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2.1
    record
    2020-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
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.2-0
    record
    2017-03-31 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 0.1-17
    record
    2013-08-08 · diff ↗
  • 0.1-16
    record
    2013-05-30 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 0.1-15
    record
    2012-12-28 · diff ↗
  • 0.1-14
    record
    2012-10-07 · diff ↗
  • 0.1-13
    record
    2012-09-10 · diff ↗
  • 0.1-12
    record
    2012-08-08 · diff ↗
  • 0.1-9
    record
    2012-06-04 · diff ↗
  • 0.1-8
    record
    2012-04-01 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 0.1.7
    record
    2012-01-28 · diff ↗
  • 0.1.6
    record
    2012-01-19 · diff ↗
  • 0.1.4
    record
    2011-12-30 · diff ↗
  • 0.1.3
    record
    2011-12-04 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 0.1.2
    record
    2011-09-08 · diff ↗
  • 0.1.1
    record
    2011-08-01 · diff ↗
  • 0.1.0
    record
    2011-07-23
  • R
    R 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
Appears in task views

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for gRim version 0.3.4 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy