Learn R Programming

backbone (version 2.0.3)

universal: Wrapper for global()

Description

Wrapper for global()

Usage

universal(
  M,
  upper = 0,
  lower = NULL,
  keepzeros = TRUE,
  class = "original",
  narrative = FALSE
)

Arguments

M

graph: Graph object of class matrix, sparse matrix, igraph, edgelist, or network object.

upper

Real, FUN, or NULL: upper threshold value or function that evaluates to an upper threshold value.

lower

Real, FUN, or NULL: lower threshold value or function that evaluates to a lower threshold value.

keepzeros

Boolean: TRUE if zero-weight edges in M should be missing in the backbone

class

string: the class of the returned backbone graph, one of c("original", "matrix", "sparseMatrix", "igraph", "network", "edgelist"). If "original", the backbone graph returned is of the same class as B.

narrative

Boolean: TRUE if suggested text for a manuscript is to be returned