# Graphical Interaction Models

## Documentation for package ‘gRim’ version 0.3.4

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

A B C D E F G I L M O P R S T U misc

## -- A --

AIC.gips_fit_class | Utilities for gRips
as_amat2emat | Coerce models to different representations
as_elist2emat | Coerce models to different representations
as_emat2amat | Coerce models to different representations
as_emat2cq | Coerce models to different representations
as_emat2elist | Coerce models to different representations
as_emat2glist | Coerce models to different representations
as_emat2graph | Coerce models to different representations
as_emat2igraph | Coerce models to different representations
as_emat_complement | Coerce models to different representations
as_glist2cq | Coerce models to different representations
as_glist2emat | Coerce models to different representations
as_glist2graph | Coerce models to different representations
as_glist2igraph | Coerce models to different representations
as_glist2out_edges | Coerce models to different representations
as_K2amat | Coerce models to different representations
as_K2graph | Coerce models to different representations
as_sparse | Coerce models to different representations

## -- B --

backward | Stepwise model selection in (graphical) interaction models
BIC.gips_fit_class | Utilities for gRips

## -- C --

cg-stats | Mean, covariance and counts for grouped data (statistics for conditional Gaussian distribution).
CGstats | Mean, covariance and counts for grouped data (statistics for conditional Gaussian distribution).
CGstats.data.frame | Mean, covariance and counts for grouped data (statistics for conditional Gaussian distribution).
ciTest | Generic function for conditional independence test
citest-array | Test for conditional independence in a contingency table
citest-df | Test for conditional independence in a dataframe
citest-generic | Generic function for conditional independence test
citest-mvn | Test for conditional independence in the multivariate normal distribution
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_ordinal | A function to compute Monte Carlo and asymptotic tests of conditional independence for ordinal and/or nominal variables.
ciTest_table | Test for conditional independence in a contingency table
cmod | Graphical Gaussian model
coef.mModel | Mixed interaction model.
coefficients.mModel | Mixed interaction model.
coerce_models | Coerce models to different representations
concentration | Utilities for gRips
concentration.gips_fit_class | Utilities for gRips

## -- D --

dim_loglin | Return the dimension of a log-linear model
dim_loglin_decomp | Return the dimension of a log-linear model
dmod | Discrete interaction model (log-linear model)
drop_func | Stepwise model selection in (graphical) interaction models

## -- E --

effloglin | Fitting Log-Linear Models by Message Passing
emat_compare | Edge matrix operations
emat_complement | Edge matrix operations
emat_operations | Edge matrix operations
emat_saturated_model | Generate various grapical models
emat_sort | Edge matrix operations
extractAIC.iModel | General functions related to iModels
extract_cmod_data | Graphical Gaussian model

## -- F --

fast_cov | Fast computation of covariance / correlation matrix
fitted.dModel | Discrete interaction model (log-linear model)
fit_ggm_grips | Fit Gaussian graphical models
formula.iModel | General functions related to iModels
forward | Stepwise model selection in (graphical) interaction models

## -- G --

generate_models | Generate various grapical models
generate_n01 | Genrate matrix of N(0, 1) variables
getEdges | Find edges in a graph or edges not in an undirected graph.
getEdges.graphNEL | Find edges in a graph or edges not in an undirected graph.
getEdges.list | Find edges in a graph or edges not in an undirected graph.
getEdges.matrix | Find edges in a graph or edges not in an undirected graph.
getEdgesMAT | Find edges in a graph or edges not in an undirected graph.
getInEdges | Find edges in a graph or edges not in an undirected graph.
getInEdgesMAT | Find edges in a graph or edges not in an undirected graph.
getmi | Get information about mixed interaction model objects
getOutEdges | Find edges in a graph or edges not in an undirected graph.
getOutEdgesMAT | Find edges in a graph or edges not in an undirected graph.
ggmfit | Iterative proportional fitting of graphical Gaussian model
ggmfitr | Iterative proportional fitting of graphical Gaussian model
glance.gips_fit_class | Utilities for gRips

## -- I --

imodel-dmod | Discrete interaction model (log-linear model)
imodel-general | General functions related to iModels
imodel-info | Get information about mixed interaction model objects
imodel-mmod | Mixed interaction model.
impose_zero | Impose zeros in matrix entries which do not correspond to an edge.
internal | Internal functions for the gRim package
isDecomposable.dModel | General functions related to iModels
isGraphical.dModel | General functions related to iModels

## -- L --

logLik.gips_fit_class | Utilities for gRips
logLik.iModel | General functions related to iModels
loglin-dim | Return the dimension of a log-linear model
loglin-effloglin | Fitting Log-Linear Models by Message Passing

## -- M --

mmod | Mixed interaction model.
mmod_dimension | Mixed interaction model.
modelProperties | General functions related to iModels
modelProperties.dModel | General functions related to iModels
model_line | Generate various grapical models
model_loop | Generate various grapical models
model_random | Generate various grapical models
model_random_tree | Generate various grapical models
model_rectangular_grid | Generate various grapical models
model_saturated | Generate various grapical models
model_star | Generate various grapical models
modify_glist | Modify generating class for a graphical/hierarchical model

## -- O --

order_rows | Edge matrix operations

## -- P --

parm-conversion | Conversion between different parametrizations of mixed models
parm_CGstats2mmod | Conversion between different parametrizations of mixed models
parm_ghk2phk | Conversion between different parametrizations of mixed models
parm_ghk2pms | Conversion between different parametrizations of mixed models
parm_moment2pms | Conversion between different parametrizations of mixed models
parm_phk2ghk | Conversion between different parametrizations of mixed models
parm_phk2pms | Conversion between different parametrizations of mixed models
parm_pms2ghk | Conversion between different parametrizations of mixed models
parm_pms2phk | Conversion between different parametrizations of mixed models
parse_gm_formula | Parse graphical model formula
print.dModel | Discrete interaction model (log-linear model)
print.gips_fit_class | Utilities for gRips
print.iModelsummary | General functions related to iModels
print.mModel | Mixed interaction model.
print.testadd | Test addition of edge to graphical model
print.testdelete | Test deletion of edge from an interaction model

## -- R --

residuals.dModel | Discrete interaction model (log-linear model)

## -- S --

sigma.gips_fit_class | Utilities for gRips
stepwise | Stepwise model selection in (graphical) interaction models
stepwise.iModel | Stepwise model selection in (graphical) interaction models
summary.gips_fit_class | Utilities for gRips
summary.iModel | General functions related to iModels
summary.mModel | Mixed interaction model.

## -- T --

terms.iModel | General functions related to iModels
test-edges | Test edges in graphical models with p-value/AIC value
testadd | Test addition of edge to graphical model
testadd.iModel | Test addition of edge to graphical model
testadd.mModel | Test addition of edge to graphical model
testdelete | Test deletion of edge from an interaction model
testdelete.iModel | Test deletion of edge from an interaction model
testdelete.mModel | Test deletion of edge from an interaction model
testEdges | Test edges in graphical models with p-value/AIC value
testInEdges | Test edges in graphical models with p-value/AIC value
testOutEdges | Test edges in graphical models with p-value/AIC value

## -- U --

utilities_grips | Utilities for gRips

## -- misc --

%>% | Internal functions for the gRim package