print.wdnet {wdnet}R Documentation

Prints the input network

Description

These functions print a network to the terminal.

Usage

## S3 method for class 'wdnet'
print(x, node.attrs = TRUE, edge.attrs = TRUE, max.lines = 5, ...)

## S3 method for class 'wdnet'
summary(object, ...)

Arguments

x

A wdnet object.

node.attrs

Logical, whether to print node attributes, if available.

edge.attrs

Logical, whether to print edge attributes, if available.

max.lines

Integer, the maximum number of lines of edgelist and node attributes to print. The rest of the output will be truncated.

...

Additional arguments.

object

The graph of which the summary will be printed.

Details

summary.wdnet prints the number of nodes and edges, preference functions, and whether the network is directed, weighted. print.wdnet prints the same information, and also lists some edges and node attributes, if available. Edge scenarios are 0: from initial network; 1: alpha; 2: beta; 3: gamma; 4: xi; 5; rho; 6: reciprocal.


[Package wdnet version 1.2.3 Index]