Learn R Programming

gRim

R package for gRaphical independence models

Copy Link

Version

Install

install.packages('gRim')

Monthly Downloads

672

Version

0.3.4

License

GPL (>= 2)

Maintainer

Søren Højsgaard

Last Published

October 15th, 2024

Functions in gRim (0.3.4)

imodel-info

Get information about mixed interaction model objects
parm-conversion

Conversion between different parametrizations of mixed models
modify_glist

Modify generating class for a graphical/hierarchical model
loglin-effloglin

Fitting Log-Linear Models by Message Passing
imodel-dmod

Discrete interaction model (log-linear model)
internal

Internal functions for the gRim package
impose_zero

Impose zeros in matrix entries which do not correspond to an edge.
ggmfit

Iterative proportional fitting of graphical Gaussian model
utilities_grips

Utilities for gRips
imodel-mmod

Mixed interaction model.
stepwise

Stepwise model selection in (graphical) interaction models
generate_n01

Genrate matrix of N(0, 1) variables
test-edges

Test edges in graphical models with p-value/AIC value
loglin-dim

Return the dimension of a log-linear model
getEdges

Find edges in a graph or edges not in an undirected graph.
parse_gm_formula

Parse graphical model formula
testadd

Test addition of edge to graphical model
testdelete

Test deletion of edge from an interaction model
coerce_models

Coerce models to different representations
fast_cov

Fast computation of covariance / correlation matrix
cmod

Graphical Gaussian model
citest-generic

Generic function for conditional independence test
cg-stats

Mean, covariance and counts for grouped data (statistics for conditional Gaussian distribution).
emat_operations

Edge matrix operations
generate_models

Generate various grapical models
fit_ggm_grips

Fit Gaussian graphical models
citest-ordinal

A function to compute Monte Carlo and asymptotic tests of conditional independence for ordinal and/or nominal variables.
citest-df

Test for conditional independence in a dataframe
citest-mvn

Test for conditional independence in the multivariate normal distribution
citest-array

Test for conditional independence in a contingency table
imodel-general

General functions related to iModels