Package: network 1.18.2

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.18.2.tar.gz
network_1.18.2.tar.gz(r-4.5-noble)network_1.18.2.tar.gz(r-4.4-noble)
network_1.18.2.tgz(r-4.4-emscripten)network_1.18.2.tgz(r-4.3-emscripten)
network.pdf |network.html
network/json (API)

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

Peer review:

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

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

9.96 score 3 stars 143 packages 3.0k scripts 24k downloads 51 mentions 113 exports 15 dependencies

Last updated 12 months agofrom:ee8cb22e26. Checks:OK: 1 ERROR: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 18 2024
R-4.5-linux-x86_64ERRORNov 18 2024

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:clicodafansigluelatticelifecyclemagrittrMatrixpillarpkgconfigrlangstatnet.commontibbleutf8vctrs

network Vignette

Rendered fromnetworkVignette.Rnwusingutils::Sweaveon Nov 18 2024.

Last update: 2015-09-19
Started: 2014-01-03

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.edges
Retrieve Induced Subgraphs and Cuts%s% get.inducedSubgraph
Obtain the Neighborhood of a Given Vertexget.neighborhood
Determine if specified vertices of a network have any edges (are not isolates)has.edges is.isolate
Determine Whether Two Vertices Are Adjacentis.adjacent
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
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
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