mb: Find Markov blanket

View source: R/Family.R

mbR Documentation

Find Markov blanket

Description

Find the Markov blanket for a vertex in an ancestral set

Usage

mb(graph, v, A, check = TRUE, sort = 1)

Arguments

graph

mixedgraph object

v

a vertex, childless in A

A

an ancestral collection of vertices

check

logical: check A is ancestral?

sort

integer:1 for unique but unsorted, 2 for sorted (0 for possibly repeated and unsorted). If edges are stored as a matrix then output will always be unique and sorted.

Details

Finds the Markov blanket of v in A.


rje42/MixedGraphs documentation built on March 20, 2024, 8:09 a.m.