Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.all.impact

Plot "all.impact" objects


Description

Convenience function for generating impact plots

Usage

## S3 method for class 'all.impact'
plot(x, order = c("given", "value", "alphabetical"),
  zscore = FALSE, abs_val = FALSE, ...)

Arguments

x

an output object from an impact function (class all.impact)

order

"alphabetical" orders nodes alphabetically, "value" orders nodes from highest to lowest impact value

zscore

logical. Converts raw impact statistics to z-scores for plotting

abs_val

logical. Plot absolute values of global strength impacts. If both abs_val=TRUE and zscore=TRUE, plots the absolute value of the z-scores.

...

other plotting specifications (ggplot2)

Details

Inputting an object of class global.impact or structure.impact will return a line plot that shows the relative impacts of each node. Inputting a all.impact object will return both of these plots simultaneously


networktools

Tools for Identifying Important Nodes in Networks

v1.2.3
GPL-3
Authors
Payton Jones [aut, cre]
Initial release
2020-4-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.