Package: manynet 2.0.1

James Hollway

manynet: Many Ways to Make, Modify, Mark, and Measure Myriad Networks

Many tools for making, modifying, marking, measuring, and motifs and memberships of many different types of networks. All functions operate with matrices, edge lists, and 'igraph', 'network', and 'tidygraph' objects, on directed, multiplex, multimodal, signed, and other networks. The package includes functions for importing and exporting, creating and generating networks, modifying networks and node and tie attributes, and describing networks with sensible defaults.

Authors:James Hollway [cre, aut, ctb], Henrique Sposito [ctb], Christian Steglich [ctb]

manynet_2.0.1.tar.gz
manynet_2.0.1.zip(r-4.7)manynet_2.0.1.zip(r-4.6)manynet_2.0.1.zip(r-4.5)
manynet_2.0.1.tgz(r-4.6-any)manynet_2.0.1.tgz(r-4.5-any)
manynet_2.0.1.tar.gz(r-4.7-any)manynet_2.0.1.tar.gz(r-4.6-any)
manynet_2.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
manynet/json (API)
NEWS

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

Bug tracker:https://github.com/stocnet/manynet/issues

Pkgdown/docs site:https://stocnet.github.io

Datasets:
  • fict_actually - Two-mode network of Love Actually characters and their scene appearances
  • fict_friends - One-mode undirected Friends character scene co-appearances
  • fict_greys - One-mode undirected network of characters hook-ups on Grey's Anatomy TV show
  • fict_lotr - One-mode network of Lord of the Rings character interactions
  • fict_marvel - Multiplex two-mode affiliation and one-mode signed relationship network of Marvel comic book characters
  • fict_potter - Six complex one-mode support data in Harry Potter books
  • fict_starwars - Seven one-mode Star Wars character interactions
  • fict_thrones - One-mode Game of Thrones kinship
  • irps_911 - One-mode multiplex network of relationships between 9/11 hijackers
  • irps_blogs - One-mode directed network of links between US political blogs
  • irps_books - One-mode undirected network of co-purchased books about US politics on Amazon
  • irps_nuclear - Two-mode dynamic discourse network of Germany's nuclear energy phase-out
  • irps_revere - Two-mode network of Paul Revere's
  • irps_usgeo - One-mode undirected network of US state contiguity
  • irps_wwi - One-mode signed network of relationships between European major powers
  • ison_adolescents - One-mode subset of the adolescent society network
  • ison_algebra - Multiplex graph object of friends, social, and task ties
  • ison_brandes - One-mode and two-mode centrality demonstration networks
  • ison_dolphins - One-mode, undirected network of frequent associations in a dolphin pod
  • ison_emotions - One-mode, weighted network of emotional transitions
  • ison_hightech - One-mode multiplex, directed network of managers of a high-tech company
  • ison_judo_moves - One-mode judo moves network
  • ison_karateka - One-mode karateka network
  • ison_koenigsberg - One-mode Seven Bridges of Koenigsberg network
  • ison_laterals - Two-mode projection examples
  • ison_lawfirm - One-mode lawfirm
  • ison_monks - Multiplex network of three one-mode signed, weighted networks and a three-wave longitudinal network of monks
  • ison_networkers - One-mode EIES dataset
  • ison_physicians - Four multiplex one-mode physician diffusion data
  • ison_southern_women - Two-mode southern women

On CRAN:

Conda:

diffusion-modelsgraphsnetwork-analysis

7.32 score 13 stars 3 packages 50 scripts 855 downloads 425 exports 27 dependencies

Last updated from:aba3a67dd9. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK149
source / vignettesOK191
linux-release-x86_64OK161
macos-release-arm64OK105
macos-oldrel-arm64OK117
windows-develOK196
windows-releaseOK109
windows-oldrelOK104
wasm-releaseOK122

Exports:.E.G.Nadd_changesadd_infoadd_node_attributeadd_nodesadd_tie_attributeadd_tiesapply_changesarrange_tiesas_changelistas_diffnetas_diffusionas_edgelistas_graphAMas_igraphas_infolistas_matrixas_networkas_nodelistas_sienaas_stocnetas_tidygraphbind_node_attributesbind_tiesclear_glossarycollect_changescollect_crancollect_egocollect_pkgcreate_componentscreate_corecreate_cyclecreate_degreecreate_emptycreate_explicitcreate_filledcreate_latticecreate_motifscreate_ringcreate_starcreate_treecreate_wheelcreate_windmilldelete_changesdelete_nodesdelete_tiesdescribe_changesdescribe_networkdescribe_nodesdescribe_tiesexpect_nodesexpect_tiesfilter_changesfilter_nodesfilter_tiesfrom_egosfrom_slicesfrom_subgraphsfrom_tiesfrom_wavesgather_changesgenerate_citationsgenerate_configurationgenerate_firegenerate_islandsgenerate_mangenerate_randomgenerate_scalefreegenerate_smallworldgenerate_utilitiesglossis_acyclicis_aperiodicis_attributedis_changingis_complexis_connectedis_directedis_dynamicis_edgelistis_egonetis_eulerianis_graphis_igraphis_labelledis_listis_longitudinalis_manynetis_multiplexis_perfect_matchingis_signedis_twomodeis_uniplexis_weightedis.tbl_graphjoin_nodesjoin_tieslayer_namesmake_stocnetmode_namesmutatemutate_changesmutate_infomutate_netmutate_nodesmutate_tiesna_to_meanna_to_zeronet_adhesionnet_assortativitynet_attributesnet_balancenet_betweennessnet_by_brokeragenet_by_dyadnet_by_hazardnet_by_hierarchynet_by_mixednet_by_quadnet_by_tetradnet_by_triadnet_changenet_closenessnet_cohesionnet_componentsnet_congruencynet_connectednessnet_corenet_correlationnet_degreenet_densitynet_diameternet_dimsnet_diversitynet_efficiencynet_eigenvectornet_equivalencynet_factionsnet_harmonicnet_hazardnet_heterophilynet_homophilynet_immunitynet_indegreenet_independencenet_infection_completenet_infection_peaknet_infection_totalnet_infonet_layersnet_lengthnet_modesnet_modularitynet_namenet_node_attributesnet_node_namesnet_nodesnet_outdegreenet_reachnet_reciprocitynet_recoverynet_reproductionnet_richclubnet_richnessnet_scalefreenet_smallworldnet_spatialnet_stabilitynet_strengthnet_tie_attributesnet_tie_namesnet_tiesnet_toughnessnet_transitivitynet_transmissibilitynet_upperboundnet_wavesnetwork_dimsnetwork_dims.data.framenetwork_dims.igraphnetwork_dims.matrixnetwork_dims.networknetwork_node_attributesnetwork_nodesnetwork_tie_attributesnetwork_tiesnode_adoption_timenode_alphanode_attributenode_authoritynode_automorphic_equivalencenode_betweennessnode_bridgesnode_brokerage_censusnode_brokeringnode_brokering_activitynode_brokering_exclusivitynode_by_brokeragenode_by_dyadnode_by_exposurenode_by_pathnode_by_quadnode_by_tetradnode_by_tienode_by_triadnode_closenessnode_componentsnode_constraintnode_corenode_corenessnode_degnode_degreenode_distancenode_diversitynode_eccentricitynode_edge_betweennessnode_efficiencynode_effsizenode_eigenvectornode_equivalencenode_equivalencynode_exposurenode_fast_greedynode_flownode_fluidnode_harmonicnode_heterophilynode_hierarchynode_homophilynode_hubnode_in_adopternode_in_automorphicnode_in_betweennessnode_in_brokeringnode_in_communitynode_in_componentnode_in_corenode_in_eigennode_in_equivalencenode_in_fluidnode_in_greedynode_in_infomapnode_in_leidennode_in_louvainnode_in_optimalnode_in_partitionnode_in_regularnode_in_roulettenode_in_spinglassnode_in_strongnode_in_structuralnode_in_walktrapnode_in_weaknode_indegreenode_inducednode_infomapnode_informationnode_is_corenode_is_cutpointnode_is_exposednode_is_foldnode_is_independentnode_is_infectednode_is_isolatenode_is_latentnode_is_maxnode_is_meannode_is_mentornode_is_minnode_is_modenode_is_neighbornode_is_pendantnode_is_randomnode_is_recoverednode_is_universalnode_kcorenessnode_kernighanlinnode_leading_eigennode_leidennode_leveragenode_louvainnode_modenode_multidegreenode_namesnode_neighbours_degreenode_optimalnode_outdegreenode_pageranknode_path_censusnode_posnegnode_powernode_quad_censusnode_randomwalknode_reachnode_reciprocitynode_recoverynode_redundancynode_regular_equivalencenode_richnessnode_roulettenode_spinglassnode_stressnode_strong_componentsnode_structural_equivalencenode_subgraphnode_thresholdsnode_tie_censusnode_transitivitynode_triad_censusnode_vitalitynode_walktrapnode_weak_componentspkg_dataplay_diffusionplay_learningplay_segregationprint_allprint_glossaryread_cranread_dynetmlread_edgelistread_gdfread_gmlread_graphmlread_matrixread_nodelistread_pajekread_pkgread_ucinetrenamerename_nodesrename_tiesselectselect_changesselect_nodesselect_tiesseq_nodesseq_tiessnet_abortsnet_infosnet_minor_infosnet_progress_alongsnet_progress_nodessnet_progress_seqsnet_progress_stepsnet_promptsnet_successsnet_unavailablesnet_warnsummarise_tiestable_datatie_attributetie_betweennesstie_closenesstie_cohesiontie_degreetie_eigenvectortie_is_bridgetie_is_cyclicaltie_is_feedbacktie_is_imbalancedtie_is_looptie_is_maxtie_is_mintie_is_multipletie_is_pathtie_is_randomtie_is_reciprocatedtie_is_simmeliantie_is_transitivetie_is_triangulartie_is_triplettie_is_twomodetie_signstie_weightsto_acyclicto_antito_blocksto_componentsto_correlationto_cosineto_directedto_dominatingto_egoto_egosto_eulerianto_giantto_matchingto_mentoringto_mode1to_mode2to_multilevelto_namedto_no_isolatesto_no_missingto_onemodeto_permutedto_reciprocatedto_redirectedto_signedto_simplexto_slicesto_subgraphto_subgraphsto_tiesto_timeto_treeto_twomodeto_undirectedto_uniplexto_unnamedto_unsignedto_unweightedto_wavesto_weightedvalidate_stocnetwith_graphwrite_edgelistwrite_graphmlwrite_matrixwrite_nodelistwrite_pajekwrite_ucinet

Dependencies:clicodacpp11dplyrgenericsglueigraphlatticelifecyclemagrittrMatrixnetworkpillarpkgconfigpurrrR6rlangstatnet.commonstringistringrtibbletidygraphtidyrtidyselectutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Describe a networkclass_describe describe_changes describe_network describe_nodes describe_ties
Coercing into graph objectsas_diffnet as_diffusion as_graphAM as_igraph as_network as_siena as_stocnet as_tidygraph coerce_graph
Coercing into lists or matricesas_changelist as_edgelist as_infolist as_matrix as_nodelist coerce_list
Obtain overview of available network datadata_overview table_data
Two-mode network of Love Actually characters and their scene appearances (Robinson 2015)fict_actually
One-mode undirected Friends character scene co-appearances (McNulty, 2020)fict_friends
One-mode undirected network of characters hook-ups on Grey's Anatomy TV showfict_greys
One-mode network of Lord of the Rings character interactionsfict_lotr
Multiplex two-mode affiliation and one-mode signed relationship network of Marvel comic book characters (Yuksel 2017)fict_marvel
Six complex one-mode support data in Harry Potter books (Bossaert and Meidert 2013)fict_potter
Seven one-mode Star Wars character interactions (Gabasova 2016)fict_starwars
One-mode Game of Thrones kinship (Glander 2017)fict_thrones
Adding network glossary itemsclear_glossary gloss glossary print_glossary
Console command line interfaceinterface snet_abort snet_info snet_minor_info snet_prompt snet_success snet_unavailable snet_warn
One-mode multiplex network of relationships between 9/11 hijackers (Krebs 2002)irps_911
One-mode directed network of links between US political blogs (Adamic and Glance 2005)irps_blogs
One-mode undirected network of co-purchased books about US politics on Amazonirps_books
Two-mode dynamic discourse network of Germany's nuclear energy phase-out (Haunss and Hollway 2023)irps_nuclear
Two-mode network of Paul Revere's (Fischer 1995)irps_revere
One-mode undirected network of US state contiguity (Meghanathan 2017)irps_usgeo
One-mode signed network of relationships between European major powers (Antal et al. 2006)irps_wwi
One-mode subset of the adolescent society network (Coleman 1961)ison_adolescents
Multiplex graph object of friends, social, and task ties (McFarland 2001)ison_algebra
One-mode and two-mode centrality demonstration networksison_brandes
One-mode, undirected network of frequent associations in a dolphin pod (Lusseau et al. 2003)ison_dolphins
One-mode, weighted network of emotional transitions (Trampe et al. 2015)ison_emotions
One-mode multiplex, directed network of managers of a high-tech company (Krackhardt 1987)ison_hightech
One-mode judo moves network (Bastazini 2025)ison_judo_moves
One-mode karateka network (Zachary 1977)ison_karateka
One-mode Seven Bridges of Koenigsberg network (Euler 1741)ison_koenigsberg
Two-mode projection examples (Hollway 2021)ison_laterals
One-mode lawfirm (Lazega 2001)ison_lawfirm
Multiplex network of three one-mode signed, weighted networks and a three-wave longitudinal network of monks (Sampson 1969)ison_monks
One-mode EIES dataset (Freeman and Freeman 1979)ison_networkers
Four multiplex one-mode physician diffusion data (Coleman, Katz, and Menzel, 1966)ison_physicians
Two-mode southern women (Davis, Gardner and Gardner 1941)ison_southern_women
Making networks of inter- and intra-package dependenciescollect_cran collect_pkg make_cran
Making networks with defined structurescreate_components create_core create_cycle create_degree create_empty create_filled create_lattice create_ring create_star create_tree create_wheel create_windmill make_create
Making ego networks through interviewingcollect_ego make_ego
Making networks with explicit tiescreate_explicit make_explicit
Making learning models on networksmake_learning play_learning play_segregation
Multilevel, multiplex, multimodal, signed, dynamic or longitudinal changing networksmake_mnet print.mnet print_all
Making motifscreate_motifs make_motifs
Making diffusion models on networksmake_play play_diffusion
Making unconditional and conditional random networksgenerate_configuration generate_man generate_random generate_utilities make_random
Making networks from external filesmake_read read_dynetml read_edgelist read_gdf read_gml read_graphml read_matrix read_nodelist read_pajek read_ucinet
Making networks with a stochastic elementgenerate_citations generate_fire generate_islands generate_scalefree generate_smallworld make_stochastic
Multilevel, multiplex, multimodal, signed, dynamic or longitudinal changing networksmake_stocnet print.stocnet validate_stocnet
Making networks to external filesmake_write write_edgelist write_graphml write_matrix write_nodelist write_pajek write_ucinet
Manipulating changes to nodes over timeadd_changes apply_changes delete_changes filter_changes gather_changes manip_changes mutate_changes select_changes
Manipulating network informationadd_info manip_info mutate_info net_attributes
Manipulating node attributesadd_node_attribute bind_node_attributes join_nodes manip_nodes_attr mutate mutate_nodes rename rename_nodes select select_nodes
Manipulating number of nodesadd_nodes delete_nodes filter_nodes manip_nodes_num
Manipulating tie attributesadd_tie_attribute arrange_ties bind_ties join_ties manip_ties_attr mutate_ties rename_ties select_ties summarise_ties
Manipulating number of tiesadd_ties delete_ties filter_ties manip_ties_num
Marking networks featuresis_acyclic is_aperiodic is_connected is_eulerian is_perfect_matching mark_features
Marking networks change formatsis_changing is_dynamic is_longitudinal mark_format_change
Marking networks nodal formatsis_attributed is_egonet is_labelled is_twomode mark_format_node
Marking networks tie formatsis_complex is_directed is_multiplex is_signed is_uniplex is_weighted mark_format_tie
Marking networks classesis_edgelist is_graph is_list is_manynet mark_is
Describing attributes of nodes in a networkmeasure_attributes_nodes node_attribute node_is_mode node_names
Describing attributes of ties in a networkmeasure_attributes_ties tie_attribute tie_is_twomode tie_signs tie_weights
Describing network dimensionsmeasure_dims net_dims net_layers net_modes net_nodes net_ties
Describing network nameslayer_names member_names mode_names net_name net_node_attributes net_tie_attributes
Node correlationmodif_correlation to_correlation to_cosine
Modifying networks by formatting their directionalitymodif_direction to_acyclic to_directed to_reciprocated to_redirected to_undirected
Joining lists of networks, graphs, and matricesfrom_egos from_slices from_subgraphs from_ties from_waves modif_from
Modifying node labelsmodif_labels to_named to_unnamed
Modifying network levelsmodif_levels to_multilevel to_onemode to_twomode
Modifying missing tie datamodif_miss na_to_mean na_to_zero
Modifying networks pathsmodif_paths to_dominating to_eulerian to_matching to_mentoring to_tree
Network permutationmodif_permutation to_permuted
Modifying network complexitymodif_plexity to_anti to_simplex to_uniplex
Modifying networks projectionmodif_project to_mode1 to_mode2 to_ties
Modifying networks scopemodif_scope to_blocks to_ego to_giant to_no_isolates to_no_missing to_subgraph to_time
Splitting networks into listsmodif_split to_components to_egos to_slices to_subgraphs to_waves
Modifying tie weight formatsmodif_weight to_signed to_unsigned to_unweighted to_weighted
Console command line interfaceprogress seq_nodes seq_ties snet_progress_along snet_progress_nodes snet_progress_seq snet_progress_step