Learn R Programming

MetaNet (version 0.1.2)

plot.robust: Plot robust

Description

Plot robust

Usage

# S3 method for robust
plot(
  x,
  indexes = c("Natural_connectivity", "Average_path_length", "Average_degree"),
  use_ratio = FALSE,
  mode = 1,
  ...
)

Value

a ggplot

Arguments

x

robust_test() result (robust object)

indexes

indexes selected to show

use_ratio

use the delete nodes ratio rather than nodes number

mode

plot mode, 1~3

...

additional arguments for group_box