impact.barplot {QPress}R Documentation

Impact Barplot

Description

Display the impact of a perturbation as a barplot

Usage

impact.barplot(sim, epsilon = 1e-05, main = "", cex.axis = 1)

impact.barplot0(sim, perturb = 0, monitor = NA, epsilon = 1e-05,
  main = "", cex.axis = 1)

Arguments

sim

the result from system.simulate

epsilon

outomes below this in absolute magnitude are treated as zero.

main

text for plot title

cex.axis

character expansion factor for the edge labels

perturb

a named vector that indicates which nodes were perturbed and the relative magnitude of the perturbation.

monitor

n named vector of signs (-1,0,1) or NA that indicates the outcome of the perturbation.

Details

This control constructs a barplot that shows the fraction of simulations in which a positive (orange), negative (blue) or zero (off white) outcome occurs at each node following a given perturbation.

The user may specify the perturbation of the nodes, and any outcome known from monitoring the network, and then construct a barplot of the frequency table of outcomes at each node.

impact.barplot0 is a non-interactive variant for programmatic use.


[Package QPress version 0.21 Index]