plot,baycn-method {baycn}R Documentation

plot

Description

plot

Usage

## S4 method for signature 'baycn'
plot(
  x,
  presence = 0.4,
  direction = 0.2,
  edgeLabel = TRUE,
  mode = "directed",
  weighted = TRUE,
  ...
)

Arguments

x

An object of class baycn.

presence

A scalar between 0 and 1. This is the cutoff for considering an edge to be present. For example, if presence = 0.4 then an edge is considered to be present if the sum of the posterior proability for the two edge directions is greater than 0.4. The edge will be considered to be absent if this sum is less than 0.4.

direction

A scalar between 0 and 1. This is the cutoff for determining the direction of an edge. For example, if direction = 0.2 then an edge is considered to be directed if the difference between the posterior proability for the two edge directions is greater than 0.2. An edge will be considered undirected if the difference is less than 0.2.

edgeLabel

Logical - indicates whether the posterior probabilities should be included as edge labels in the plot. If edgeLabel is TRUE then weighted must also be set to TRUE.

mode

See graph_from_adjacency_matrix for details.

weighted

See graph_from_adjacency_matrix for details.

...

Other Arguments passed to plot.igraph.


[Package baycn version 1.2.0 Index]