Package: network 1.20.0-784

Carter T. Butts

network: Classes for Relational Data

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.

Authors:Carter T. Butts [aut, cre], David Hunter [ctb], Mark Handcock [ctb], Skye Bender-deMoll [ctb], Jeffrey Horner [ctb], Li Wang [ctb], Pavel N. Krivitsky [ctb], Brendan Knapp [ctb], Michał Bojanowski [ctb], Chad Klumb [ctb]

network_1.20.0-784.tar.gz
network_1.20.0-784.zip(r-4.7)network_1.20.0-784.zip(r-4.6)network_1.20.0-784.zip(r-4.5)
network_1.20.0-784.tgz(r-4.6-x86_64)network_1.20.0-784.tgz(r-4.6-arm64)network_1.20.0-784.tgz(r-4.5-x86_64)network_1.20.0-784.tgz(r-4.5-arm64)
network_1.20.0-784.tar.gz(r-4.7-arm64)network_1.20.0-784.tar.gz(r-4.7-x86_64)network_1.20.0-784.tar.gz(r-4.6-arm64)network_1.20.0-784.tar.gz(r-4.6-x86_64)
network_1.20.0-784.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
network/json (API)

# Install 'network' in R:
install.packages('network', repos = c('https://statnet.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/statnet/network/issues

Datasets:
  • emon - Interorganizational Search and Rescue Networks
  • flo - Florentine Wedding Data

On CRAN:

Conda:

13.38 score 19 stars 154 packages 3.5k scripts 39k downloads 51 mentions 113 exports 14 dependencies

Last updated from:593d679113. Checks:13 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK128
linux-devel-x86_64OK142
source / vignettesOK174
linux-release-arm64OK126
linux-release-x86_64OK134
macos-release-arm64OK129
macos-release-x86_64OK163
macos-oldrel-arm64OK127
macos-oldrel-x86_64OK263
windows-develOK100
windows-releaseOK97
windows-oldrelOK104
wasm-releaseOK100

Exports:-.network!.network[.network[<-.network*.network&.network%c%%c%.network%e%%e%<-%eattr%%eattr%<-%n%%n%<-%nattr%%nattr%<-%s%%v%%v%<-%vattr%%vattr%<-+.network<-.network|.networkadd.edgeadd.edge.networkadd.edgesadd.edges.networkadd.verticesadd.vertices.networkas.coloras.data.frame.networkas.edgelistas.edgelist.matrixas.matrix.networkas.matrix.network.adjacencyas.matrix.network.edgelistas.matrix.network.incidenceas.networkas.network.data.frameas.network.defaultas.network.matrixas.network.networkas.sociomatrixdelete.edge.attributedelete.edgesdelete.network.attributedelete.vertex.attributedelete.verticesget.dyads.eidsget.edge.attributeget.edge.valueget.edgeIDsget.edgesget.inducedSubgraphget.neighborhoodget.network.attributeget.vertex.attributehas.edgeshas.loopsis.adjacentis.bipartiteis.coloris.directedis.discreteis.discrete.characteris.discrete.numericis.edgelistis.hyperis.multiplexis.na.networkis.networklist.edge.attributeslist.network.attributeslist.vertex.attributesmixingmatrixnetworknetwork.adjacencynetwork.arrownetwork.bipartitenetwork.copynetwork.densitynetwork.dyadcountnetwork.edgecountnetwork.edgelabelnetwork.edgelistnetwork.incidencenetwork.initializenetwork.layout.circlenetwork.layout.fruchtermanreingoldnetwork.layout.kamadakawainetwork.loopnetwork.naedgecountnetwork.sizenetwork.vertexnetwork.vertex.namesnetwork.vertex.names<-permute.vertexIDsplot.networkplot.network.defaultplotArgs.networkprint.networkprint.summary.networkprod.networkread.pajset.edge.attributeset.edge.valueset.network.attributeset.vertex.attributesum.networksummary.networkvalid.eidswhich.matrix.type

Dependencies:clicodagluelatticelifecyclemagrittrMatrixpillarpkgconfigrlangstatnet.commontibbleutf8vctrs

network Vignette

Rendered fromnetworkVignette.Rnwusingutils::Sweaveon May 21 2026.

Last update: 2026-02-07
Started: 2013-11-02

Readme and manuals

Help Manual

Help pageTopics
Classes for Relational Datanetwork-package
Add Edges to a Network Objectadd.edge add.edge.network add.edges add.edges.network
Add Vertices to an Existing Networkadd.vertices add.vertices.network
Transform vector of values into color specificationas.color is.color
Coerce a Network Object to a 'data.frame'as.data.frame.network
Convert a network object into a numeric edgelist matrixas.edgelist as.edgelist.matrix as.edgelist.network as.edgelist.tbl_df edgelist is.edgelist
Coerce a Network Object to Matrix or Table Formas.matrix.network as.matrix.network.adjacency as.matrix.network.edgelist as.matrix.network.incidence as.tibble.network as_tibble.network
Coercion from Matrices to Network Objectsas.network.default as.network.matrix
Coerce One or More Networks to Sociomatrix Formas.sociomatrix
Attribute Interface Methods for the Network Classattribute.methods delete.edge.attribute delete.edge.attribute.network delete.network.attribute delete.network.attribute.network delete.vertex.attribute delete.vertex.attribute.network get.edge.attribute get.edge.attribute.list get.edge.attribute.network get.edge.value get.edge.value.list get.edge.value.network get.network.attribute get.network.attribute.network get.vertex.attribute get.vertex.attribute.network list.edge.attributes list.edge.attributes.network list.network.attributes list.network.attributes.network list.vertex.attributes list.vertex.attributes.network network.vertex.names network.vertex.names<- set.edge.attribute set.edge.attribute.network set.edge.value set.edge.value.network set.network.attribute set.network.attribute.network set.vertex.attribute set.vertex.attribute.network
Remove Elements from a Network Objectdelete.edges delete.edges.network delete.vertices delete.vertices.network deletion.methods
Edgeset Constructors for Network Objectsedgeset.constructors network.adjacency network.bipartite network.edgelist network.incidence
Interorganizational Search and Rescue Networks (Drabek et al.)emon
Florentine Wedding Data (Padgett)flo
Retrieve Edges or Edge IDs Associated with a Given Vertexget.dyads.eids get.edgeIDs get.edgeIDs.network get.edges get.edges.network
Retrieve Induced Subgraphs and Cuts%s% get.inducedSubgraph get.inducedSubgraph.network
Obtain the Neighborhood of a Given Vertexget.neighborhood get.neighborhood.network
Determine if specified vertices of a network have any edges (are not isolates)has.edges has.edges.network is.isolate
Determine Whether Two Vertices Are Adjacentis.adjacent is.adjacent.network
Examples of how to load vertex and edge attributes into networksloading.attributes
Identifying and Counting Missing Edges in a Network Objectis.na.network missing.edges network.naedgecount
Mixing matrix$.mixingmatrix is.bipartite.mixingmatrix is.directed.mixingmatrix mixingmatrix mixingmatrix.network print.mixingmatrix [[.mixingmatrix
Network Objects$<-.network <-.network as.network as.network.data.frame as.network.network is.network network network.copy print.network print.summary.network summary.network
Add Arrows or Segments to a Plotnetwork.arrow
Compute the Density of a Networknetwork.density network.density.network
Return the Number of (Possibly Directed) Dyads in a Network Objectnetwork.dyadcount network.dyadcount.network
Return the Number of Edges in a Network Objectnetwork.edgecount network.edgecount.network
Plots a label corresponding to an edge in a network plot.network.edgelabel
Extraction and Replacement Operators for Network Objects%e% %e%<- %eattr% %eattr%<- %n% %n%<- %nattr% %nattr%<- %v% %v%<- %vattr% %vattr%<- network.extraction [.network [<-.network
Indicator Functions for Network Propertieshas.loops is.bipartite is.bipartite.network is.directed is.directed.network is.hyper is.multiplex network.indicators
Initialize a Network Class Objectnetwork.initialize
Vertex Layout Functions for plot.networknetwork.layout network.layout.circle network.layout.fruchtermanreingold network.layout.kamadakawai
Add Loops to a Plotnetwork.loop
Network Operators!.network %c% %c%.network &.network *.network +.network -.network network.operators |.network
Return the Size of a Networknetwork.size
Add Vertices to a Plotnetwork.vertex
Permute (Relabel) the Vertices Within a Networkpermute.vertexIDs permute.vertexIDs.network
Two-Dimensional Visualization for Network Objectsplot.network plot.network.default
Expand and transform attributes of networks to values appropriate for aguments to plot.networkplotArgs.network
Combine Networks by Edge Value Multiplicationprod.network
Read a Pajek Project or Network File and Convert to an R 'Network' Objectread.paj read.paj.simplify readAndVectorizeLine switchArcDirection
Combine Networks by Edge Value Additionsum.network
Get the ids of all the edges that are valid in a networkvalid.eids valid.eids.network
Heuristic Determination of Matrix Types for Network Storagewhich.matrix.type