grand.text {grand}R Documentation

Generate a Guidelines for Reporting About Network Data (GRAND) narrative summary

Description

The grand.text function writes a narrative summary of GRAND attributes that were added to an igraph object using grand().

Usage

grand.text(G, digits = 3)

Arguments

G

An igraph object with GRAND attributed

digits

numeric: number of decimal places to report

Value

string: Narrative summary of G

Examples

#A weighted, directed network
data(airport)  #Load example data
narrative <- grand.text(airport)  #Generate narrative

#A bipartite network
data(cosponsor)  #Load example data
narrative <- grand.text(cosponsor)  #Generate narrative

#A signed network
data(senate)  #Load example data
narrative <- grand.text(senate)  #Generate narrative

[Package grand version 0.9.0 Index]