Package: netify 1.5.3

Shahryar Minhas

netify: Tools for Network Data Workflows

Builds, validates, analyzes, and visualizes network data from dyadic, event, matrix, 'igraph', and 'network' inputs. Supports cross-sectional, longitudinal, bipartite, and multi-layer networks, with conversion helpers for common modeling workflows and plotting utilities for exploratory analysis. Network methods are described in Wasserman and Faust (1994, ISBN:9780521387071), Cranmer et al. (2021) <doi:10.1017/9781316662915>, and Minhas et al. (2022) <doi:10.1017/psrm.2021.56>.

Authors:Ha Eun Choi [ctb], Cassy Dorff [aut], Colin Henry [ctb], Shahryar Minhas [aut, cre], Tosin Salau [ctb]

netify_1.5.3.tar.gz
netify_1.5.3.tar.gz(r-4.7-arm64)netify_1.5.3.tar.gz(r-4.7-x86_64)netify_1.5.3.tar.gz(r-4.6-arm64)netify_1.5.3.tar.gz(r-4.6-x86_64)
netify_1.5.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
netify/json (API)

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

Bug tracker:https://github.com/netify-dev/netify/issues

Pkgdown/docs site:https://netify-dev.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • classroom_edges - Synthetic high-school friendship edgelist
  • classroom_nodes - Synthetic high-school friendship roster
  • icews - Event data slice from ICEWS
  • mexico - Event data slice from UCDP on Mexico
  • myanmar - Event data slice from ucdp on myanmar

On CRAN:

Conda:

cpp

3.82 score 33 scripts 127 exports 28 dependencies

Last updated from:8cf64e0f3a. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK277
linux-devel-x86_64OK300
source / vignettesOK349
linux-release-arm64OK305
linux-release-x86_64OK304
wasm-releaseOK224

Exports:add_dyad_varsadd_edge_attributesadd_node_varsadd_vertex_attributesaggregate_dyadanimate_netifyas_tibble.netifyas_tibble.netify_comparisonassemble_netify_plotattribute_reportbinarizebind_netifiesbootstrap_netletcompare_networkscompare_to_nullcreate_ego_centric_layoutcreate_hierarchical_ego_layoutcreate_radial_ego_layoutdecompose_igraphdecompose_netifydecompose_networkdecompose_statnetdrop_na_actorsdyad_correlationego_netifyfrom_lame_fitgen_symm_idget_actor_time_infoget_adjacencyget_adjacency_arrayget_adjacency_listget_edge_layoutget_ego_layoutget_node_layoutget_rawglance.netifyhomophilyis_binaryis_bipartiteis_bipartite_netifyis_directed_netifyis_longitudinalis_multilayeris_netifyis_symmetric_netifylayer_netifylist_network_styleslist_palettesmeasurementsmeltmixing_matrixmutate_weightsn_actorsn_layersn_periodsnet_plot_datanetifynetify_edgenetify_labelnetify_label_repelnetify_measurementsnetify_nodenetify_scale_labelsnetify_textnetify_text_repelnetify_to_amennetify_to_dbnnetify_to_dfnetify_to_igraphnetify_to_lamenetify_to_networknetify_to_statnetnew_netifynodal_datapeekpivot_dyad_to_networkplot_actor_statsplot_graph_statsplot_homophilyplot_mixing_matrixplot_mixing_matrix_facetplot_with_styleplot.netifyprint.netifyread_gmlread_graphmlread_pajekremove_ego_edgesreset_scalesstyle_bipartite_networkstyle_black_yellowstyle_bronze_blockstyle_crimson_silverstyle_cyberpunkstyle_dark2style_green_goldstyle_lime_magentastyle_navy_maroonstyle_orange_tealstyle_pastelstyle_racing_bluestyle_randomstyle_red_bluestyle_retro80sstyle_rosestyle_scientific_bluestyle_slate_silverstyle_solarizedstyle_sunburststyle_temporal_networkstyle_tuftesubset_netifysummary_actortheme_netifytheme_publication_netifytheme_publication_netify_tstheme_stat_netifytidy.netifyto_amento_dbnto_igraphto_lameto_netifyto_networkto_statnetunnetifyvalidate_netify

Dependencies:backportscheckmateclicpp11farverggnewscaleggplot2ggrepelgluegtableigraphisobandlabelinglatticelifecyclemagrittrMatrixpkgconfigR6RColorBrewerRcppRcppEigenrlangS7scalesvctrsviridisLitewithr

Helpful Resources
new to networks | overview books | academic articles | networks & conflict | model-specific

Last update: 2026-06-30
Started: 2026-06-30

Internals: object structure & writing custom extensions
the netify object: a base r object with attributes | extracting parts | tidy interop | predicates and descriptors | object-level validation | open-cohort panels with actor_pds | the actor_pds roster, step by step | density and per-period actor sets | na versus zero in weighted networks | writing a custom graph-level statistic | writing a custom actor-level statistic | reading the dyad_data nested list | writing a custom exporter (to_* function) | performance characteristics | see also

Last update: 2026-06-30
Started: 2026-06-30

Pipeline: netify to ergm (statnet)
1. cross-sectional pipeline | before you fit: three sanity checks | dyadic edge covariates: the _e suffix | 2. longitudinal pipeline (per-time fits) | 3. multilayer pipeline (per-layer fits) | 4. round-tripping simulated networks back to netify | tl;dr | references

Last update: 2026-06-30
Started: 2026-06-30

Quickstart to Inference
1. build | 2. explore | 3. test (basic inferential) | 4. bridge | tl;dr | a note for non-time use cases

Last update: 2026-06-30
Started: 2026-06-30

Readme and manuals

Help Manual

Help pageTopics
Add dyadic variables to a netify objectadd_dyad_vars add_edge_attributes
Add nodal variables to a netify objectadd_node_vars add_vertex_attributes
Aggregate dyadic event data by actor pairsaggregate_dyad
Animate a longitudinal netify object with gganimateanimate_netify
convert a netify object to a tibble (long edge frame)as_tibble.netify
Convert a netify_comparison to a tibbleas_tibble.netify_comparison
as.igraph method for netify objectsas.igraph.netify
coerce a netify object to a plain matrixas.matrix.netify
as.network method for netify objectsas.network.netify
assemble netify plot from componentsassemble_netify_plot
Summary of network-attribute relationshipsattribute_report
Binarize a netify object at a thresholdbinarize
Combine multiple netify objectsbind_netifies
Bootstrap any user-supplied function of a netify objectbootstrap_netlet
synthetic high-school friendship edgelistclassroom_edges
Synthetic high-school friendship roster (nodes)classroom_nodes
Compare networks across time, layers, or attributescompare_networks
Test an observed network statistic against a NULL distributioncompare_to_null
decompose an igraph object into base r componentsdecompose_igraph
Decompose a netify object into edge and node data framesdecompose_netify
decompose a network object into base r componentsdecompose_network decompose_statnet
Drop actors with NA covariates from a netify objectdrop_na_actors
Analyze correlations between dyadic attributes and network tiesdyad_correlation
Create ego-centric layouts for ego networkscreate_ego_centric_layout create_hierarchical_ego_layout create_radial_ego_layout ego_layouts
Create ego network from a netify objectego_netify
Convert a fitted 'lame'/'amen' AME object back into a netifyfrom_lame_fit
generate symmetric identifiers for dyadic datagen_symm_id
Extract actor time range informationget_actor_time_info get_actor_time_info.data.frame get_actor_time_info.default get_actor_time_info.netify
Create a netify matrix from cross-sectional dyadic dataget_adjacency
Create a netify array from longitudinal dyadic dataget_adjacency_array
Create a netify list from longitudinal dyadic dataget_adjacency_list
Generate edge layout coordinates for netify visualizationget_edge_layout
Calculate ego-centric layout positions for network visualizationget_ego_layout
Calculate node layout positions for netify visualizationget_node_layout
get raw network data without netify attributesget_raw
add netify_edge to ggplotggplot_add.netify_edge
add netify_label to ggplotggplot_add.netify_label
add netify_label_repel to ggplotggplot_add.netify_label_repel
add netify scale labels to ggplotggplot_add.netify_labels
add netify_node to ggplotggplot_add.netify_node
add scale resets to ggplotggplot_add.netify_scale_reset
add netify_text to ggplotggplot_add.netify_text
add netify_text_repel to ggplotggplot_add.netify_text_repel
one-row-per-network summary of a netify object (broom style)glance.netify
Analyze homophily in network datahomophily
Event data slice from ICEWSicews
is this object a netify object?is_netify
Create multilayer networks from multiple netify objectslayer_netify
list available network styleslist_network_styles
list available color paletteslist_palettes
Melt methods for netify objectsmelt melt.netify
merge method for netify objects (s3 alias for 'bind_netifies')merge.netify
Event data slice from UCDP on Mexicomexico
Create attribute mixing matrices for network datamixing_matrix
Mutate edge weights in a netify objectmutate_weights
event data slice from ucdp on myanmarmyanmar
Prepare netify data for network visualizationnet_plot_data
Create network object from various data typesnetify
Extract edges layer from netify plot componentsnetify_edge
extract label layer from netify plot componentsnetify_label
extract label_repel layer from netify plot componentsnetify_label_repel
Extract measurements and dimensions from a netify objectmeasurements netify_measurements
extract nodes layer from netify plot componentsnetify_node
Type predicates and convenience accessors for netify objectsis_binary is_bipartite is_bipartite_netify is_directed_netify is_longitudinal is_multilayer is_symmetric_netify netify_predicates nodal_data n_actors n_layers n_periods
set scale labels for netify plotsnetify_scale_labels
extract text layer from netify plot componentsnetify_text
extract text_repel layer from netify plot componentsnetify_text_repel
Convert netify objects to amen formatnetify_to_amen to_amen
Convert netify objects to dbn formatnetify_to_dbn to_dbn
Convert netify objects to igraph formatnetify_to_igraph to_igraph
Convert a netify object to the format expected by 'lame::ame()'netify_to_lame to_lame
Convert netify objects to statnet network formatnetify_to_network netify_to_statnet to_network to_statnet
Common netify workflows - index of patternsnetify_workflows
low-level constructor for netify objectsnew_netify
Preview subsets of network data from netify objectspeek
Pivot a dyadic variable to become the networkpivot_dyad_to_network
Visualize actor-level network statisticsplot_actor_stats
Visualize network-level statisticsplot_graph_stats
Visualize homophily analysis resultsplot_homophily
Visualize attribute mixing matrix resultsplot_mixing_matrix
create a multi-panel mixing matrix visualizationplot_mixing_matrix_facet
Apply style to netify plotplot_with_style
Plotting method for netify objectsplot.netify
Plot method for 'netify_comparison' objectsplot.netify_comparison
plot method for summary_actor outputplot.summary_actor
plot graph-level summary statisticsplot.summary.netify
Print method for netify objectsprint.netify
Print method for netify_comparison objectsprint.netify_comparison
print netify plot componentsprint.netify_plot_components
Read a network from common file formats into a netify objectread_external read_gml read_graphml read_pajek
remove ego-alter edges from ego networkremove_ego_edges
reset aesthetic scales in ggplotreset_scales
Simulate NULL-model networks from a netify objectsimulate.netify
preset style for bipartite networksstyle_bipartite_network
black and yellow network stylestyle_black_yellow
bronze block network stylestyle_bronze_block
crimson and silver network stylestyle_crimson_silver
cyberpunk-inspired network stylestyle_cyberpunk
colorbrewer dark2-based network stylestyle_dark2
green and gold network stylestyle_green_gold
lime and magenta network stylestyle_lime_magenta
navy and maroon network stylestyle_navy_maroon
orange and teal network stylestyle_orange_teal
pastel rainbow network stylestyle_pastel
racing blue network stylestyle_racing_blue
apply random network stylestyle_random
red and blue network stylestyle_red_blue
retro 80s-inspired network stylestyle_retro80s
rose network stylestyle_rose
scientific blue network stylestyle_scientific_blue
slate and silver network stylestyle_slate_silver
solarized-inspired network stylestyle_solarized
sunburst network stylestyle_sunburst
preset style for temporal/longitudinal networksstyle_temporal_network
minimal tufte-inspired network stylestyle_tufte
Subset netify objectssubset.netify
Calculate actor-level network statisticssummary_actor
Calculate graph-level statistics for netify objectssummary.netify
summary method for netify_comparison objectssummary.netify_comparison
theme_netify functiontheme_netify
ggplot theme for netify network plotstheme_publication_netify
ggplot theme for netify time-series / stat plotstheme_publication_netify_ts
theme_stat_netify functiontheme_stat_netify
Tidy a netify object into a long edge data frametidy.netify
Convert igraph, network, or matrix objects to netify formatto_netify
Convert netify objects back to dyadic data framesnetify_to_df unnetify
Deep coherence check on a netify objectvalidate_netify