Rdocumentation
powered by
Learn R Programming
network (version 1.20.0)
Classes for Relational Data
Description
Tools to create and modify network objects. The network class can represent a range of relational data types, and supports arbitrary vertex/edge/graph attributes.
Copy Link
Link to current version
Version
Version
1.20.0
1.19.0
1.18.2
1.18.1
1.18.0
1.17.2
1.13.0
1.12.0
1.11.3
1.10.2
1.9.0
1.8.1
1.7.2
1.7-1.1
1.6
1.5-1
1.4-1
1.3
1.2
1.1-2
1.1-1
1.0-1
0.5-4
Install
install.packages('network')
Monthly Downloads
28,893
Version
1.20.0
License
GPL (>= 2)
Maintainer
Carter Butts
Last Published
February 7th, 2026
Functions in network (1.20.0)
Search all functions
has.edges
Determine if specified vertices of a network have any edges (are not isolates)
emon
Interorganizational Search and Rescue Networks (Drabek et al.)
mixingmatrix
Mixing matrix
flo
Florentine Wedding Data (Padgett)
is.adjacent
Determine Whether Two Vertices Are Adjacent
get.edges
Retrieve Edges or Edge IDs Associated with a Given Vertex
get.inducedSubgraph
Retrieve Induced Subgraphs and Cuts
loading.attributes
Examples of how to load vertex and edge attributes into networks
get.neighborhood
Obtain the Neighborhood of a Given Vertex
network.edgelabel
Plots a label corresponding to an edge in a network plot.
network.density
Compute the Density of a Network
network.arrow
Add Arrows or Segments to a Plot
network-package
Classes for Relational Data
network-internal
Internal Network Package Functions
network
Network Objects
network.operators
Network Operators
network.extraction
Extraction and Replacement Operators for Network Objects
network.dyadcount
Return the Number of (Possibly Directed) Dyads in a Network Object
network.size
Return the Size of a Network
network.edgecount
Return the Number of Edges in a Network Object
missing.edges
Identifying and Counting Missing Edges in a Network Object
network.loop
Add Loops to a Plot
network.layout
Vertex Layout Functions for plot.network
plotArgs.network
Expand and transform attributes of networks to values appropriate for aguments to plot.network
valid.eids
Get the ids of all the edges that are valid in a network
read.paj
Read a Pajek Project or Network File and Convert to an R 'Network' Object
prod.network
Combine Networks by Edge Value Multiplication
plot.network.default
Two-Dimensional Visualization for Network Objects
sum.network
Combine Networks by Edge Value Addition
permute.vertexIDs
Permute (Relabel) the Vertices Within a Network
network.vertex
Add Vertices to a Plot
which.matrix.type
Heuristic Determination of Matrix Types for Network Storage
network.initialize
Initialize a Network Class Object
network.indicators
Indicator Functions for Network Properties
as.color
Transform vector of values into color specification
as.network.matrix
Coercion from Matrices to Network Objects
as.data.frame.network
Coerce a Network Object to a
data.frame
as.edgelist
Convert a network object into a numeric edgelist matrix
as.matrix.network
Coerce a Network Object to Matrix or Table Form
deletion.methods
Remove Elements from a Network Object
add.vertices
Add Vertices to an Existing Network
as.sociomatrix
Coerce One or More Networks to Sociomatrix Form
attribute.methods
Attribute Interface Methods for the Network Class
edgeset.constructors
Edgeset Constructors for Network Objects
add.edges
Add Edges to a Network Object