Learn R Programming

fbnet (version 1.0.4)

velim.bn: velim.bn: a function for variable elimination in a bayesian network.

Description

velim.bn: a function for variable elimination in a bayesian network.

Usage

velim.bn(
  bn,
  ordMethod = c("id", "min_degree", "min_fill", "fixed")[2],
  orderElim = NULL,
  verbose = FALSE
)

Value

Variable elimination result.

Arguments

bn

A bayesian network for pedigree object with information of the genotyped members. The ped object must be in Familias format.

ordMethod

Selected ordering method between id, min_degree, min_fill and fixed.

orderElim

Elimination order.

verbose

Computation output.