Learn R Programming

⚠️There's a newer version (0.3.4) of this package.Take me there.

gRim (version 0.1.2)

Graphical Interaction Models

Description

Implements graphical interaction models for contingency tables (i.e. log-linear models) and graphical Gaussian models for the multivariate normal data (i.e. covariance selection models).

Copy Link

Version

Install

install.packages('gRim')

Monthly Downloads

664

Version

0.1.2

License

GPL (>= 2)

Maintainer

S�ren H�jsgaard

Last Published

September 8th, 2011

Functions in gRim (0.1.2)

mmod

Mixed interaction model.
loglinDim

Return the dimension of a log-linear model
modify_glist

Modify generating class for a graphical/hierarchical model
dModel-class

Class "dModel"
cmod

Graphical Gaussian model
ciTest

Generic function for conditional independence test
gRim-internal

Internal functions in the gRim package
effloglin

Fitting Log-Linear Models by Message Passing
ghk2phkParms

Conversion between different parametrizations of mixed interaction models.
CGstats

Mean, covariance and counts for grouped data
dmod

Log--linear model
stepwise.iModel; backward; forward

Stepwise model selection in (graphical) interaction models
ciTest_table

Test for conditional independence in a contingency table
testInEdges; testOutEdges

Test edges in graphical models with p-value/AIC value
ciTest_mvn

Test for conditional independence in the multivariate normal distribution
ggmfit

Iterative proportional fitting of graphical Gaussian model
getEdges

Find edges in a graph and edges not in an undirected graph.
ciTest_df

Test for conditional independence in a dataframe
testadd

Test addition of edge to graphical model
ciTest_ordinal

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

Test deletion of edge from an interaction model