generate_models: Generate various grapical models

generate_modelsR Documentation

Generate various grapical models

Description

Models are represented in various forms

Usage

emat_saturated_model(index)

model_saturated(index, type = "emat", nms = NULL)

model_random_tree(index, prob = 0, type = "emat", nms = NULL)

model_rectangular_grid(dim, type = "emat", nms = NULL)

model_line(index, type = "emat", nms = NULL)

model_star(index, type = "emat", nms = NULL)

model_loop(index, prob = 0, type = "emat", nms = NULL)

model_random(index, prob = 0.1, type = "emat", nms = NULL)

Arguments

index

A vector of integers

type

Output type.

nms

Names of variables.

prob

Probability of any edge being present.

dim

A vector with dimensions


gRim documentation built on Oct. 16, 2024, 1:07 a.m.