generate_models {gRim}R 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


[Package gRim version 0.3.3 Index]