delete_all_attr: Delete all attributes of a graph

Description Usage Arguments Value Author(s) See Also

View source: R/utils.R

Description

Deletes all graph-, vertex-, and edge-level attributes of an igraph graph object.

Usage

1
delete_all_attr(g, keep.names = FALSE)

Arguments

g

An igraph graph object

keep.names

Logical indicating whether to keep the name vertex attribute (default: FALSE)

Value

An igraph graph object

Author(s)

Christopher G. Watson, [email protected]

See Also

delete_graph_attr, delete_vertex_attr, delete_edge_attr


brainGraph documentation built on May 29, 2018, 9:03 a.m.