adjustMixedDir: Adjusting the PDAG matrix to model constraints This function...

View source: R/helpfns.R

adjustMixedDirR Documentation

Adjusting the PDAG matrix to model constraints This function can be used to adjust the adjacency matrix to model constraints, such as blacklist and background nodes

Description

Adjusting the PDAG matrix to model constraints This function can be used to adjust the adjacency matrix to model constraints, such as blacklist and background nodes

Usage

adjustMixedDir(adj, bnnames, blacklist)

Arguments

adj

adjacency matrix representing a graph or posterior probabilities of all its edges

bnnames

object of class bnNames

blacklist

a square matrix with same dimensions as adj representing edges prohibited by the model

Value

returns a matrix where entries prohibited by the model or blacklist are 0 and equal to correspondnding values of adj otherwise


bnClustOmics documentation built on Aug. 5, 2022, 5:11 p.m.