Build an igraph object from a proto_net

core_as_igraph(proto_net)

Arguments

proto_net

Any {COREnets} data set.

Value

igraph

Examples

drugnet_proto_net <- get_data("drugnet") core_as_igraph(drugnet_proto_net)
#> IGRAPH e222dea DN-- 293 337 -- #> + attr: name (v/c), node_class (v/c), Gender (v/n), Ethnicity (v/n), #> | HasTie (v/n), hr_ethnicity (v/c), hr_gender (v/c), hr_has_tie (v/l), #> | from_class (e/c), to_class (e/c), edge_class (e/c) #> + edges from e222dea (vertex names): #> [1] 1 ->2 1 ->10 2 ->1 2 ->10 3 ->7 4 ->7 4 ->211 5 ->134 6 ->152 #> [10] 7 ->3 7 ->4 7 ->9 8 ->107 8 ->117 9 ->1 9 ->2 9 ->7 10->1 #> [19] 10->2 11->135 11->220 12->89 13->216 14->24 14->52 16->10 16->19 #> [28] 17->64 17->79 18->55 18->104 18->165 19->18 20->64 20->182 21->16 #> [37] 21->22 22->21 22->64 22->107 23->20 23->22 23->64 24->14 24->31 #> [46] 24->124 27->117 28->29 29->28 30->19 31->24 31->32 31->124 31->149 #> + ... omitted several edges
# currently supported networks ============================================== core_as_igraph(get_data("anabaptists"))
#> IGRAPH 9853e94 UN-- 67 183 -- #> + attr: name (v/c), node_class (v/c), believer_baptist (v/n), #> | violence_sanctioning (v/n), munster_rebel (v/n), apocalyptic (v/n), #> | Anabaptist (v/n), Melchiorite (v/n), Swiss Brethren (v/n), Denck #> | (v/n), Hut (v/n), Hutterite (v/n), Other Anabaptist (v/n), Lutheran #> | (v/n), Reformed (v/n), Other Protestant (v/n), Tradition (v/n), #> | origin (v/n), based_in (v/n), hr_origin (v/c), hr_based_in (v/c), #> | hr_group (v/c), is_violence_sanctioning (v/l), is_apocalyptic (v/l), #> | is_believer_baptist (v/l), is_munster_rebel (v/l), is_anabaptist #> | (v/l), from_class (e/c), to_class (e/c), edge_class (e/c) #> + edges from 9853e94 (vertex names):
core_as_igraph(get_data("cocaine_smuggling_acero"))
#> IGRAPH 9579582 UN-- 25 37 -- #> + attr: name (v/c), node_class (v/c), from_class (e/c), to_class (e/c), #> | edge_class (e/c) #> + edges from 9579582 (vertex names): #> [1] AAR --DA AAR --H AAR --JA AAR --JGG AAR --JLAR AAR --PA #> [7] AAR --R AAR --RRS AAR --SAR AAR --VA AL --SAR AN --EEG #> [13] ASB --MMM CEPO--EEG CEPO--H CEPO--HO CEPO--JCR CEPO--JLAR #> [19] CEPO--JMMM CEPO--MMM CEPO--SAR CEPO--VA EEG --H H --JMMM #> [25] JA --SAR JCR --MMM JCR --SAR JCT --T JFS --MMM JLAR--SAR #> [31] JMMM--SAR JOR --SAR MMM --SAR NA --SAR R --SAR RRS --SAR #> [37] SAR --T
core_as_igraph(get_data("cocaine_smuggling_jake"))
#> IGRAPH 194f239 UN-- 38 50 -- #> + attr: name (v/c), node_class (v/c), from_class (e/c), to_class (e/c), #> | edge_class (e/c) #> + edges from 194f239 (vertex names): #> [1] ABFM --AFM ABFM --DMN ABFM --FLMC ABFM --H11 ABFM --JES ABFM --JFM #> [7] ABFM --JHY ABFM --M3 ABFM --MCM ABFM --PR ABFM --RBM ABFM --VFH #> [13] AFM --JES AFM --JFM AIGC --FFM AIGC --JES AIGC --MCM AMG --JFM #> [19] CAR --DEJV CAR --FFM CHA --JES DEJV --FLMC DEJV --RBM EYVT --FLMC #> [25] FAERH--RBM FFM --H10 FFM --H5 FFM --JES FFM --M1 FFM --M2 #> [31] FFM --MRQ FFM --RJJ FLMC --H1 FLMC --H2 FLMC --H3 FLMC --H9 #> [37] FLMC --JAGG FLMC --JES FLMC --JFM FLMC --ROB H1 --JFM H6 --JES #> + ... omitted several edges
core_as_igraph(get_data("cocaine_smuggling_juanes"))
#> IGRAPH 03befe5 UN-- 51 93 -- #> + attr: name (v/c), node_class (v/c), from_class (e/c), to_class (e/c), #> | edge_class (e/c) #> + edges from 03befe5 (vertex names): #> [1] 6D --DFM 6D --DN 6D --JJLH ABF --DEAR ABF --JLT ABF --LGM #> [7] ABF --MDAA ABF --OAMS ABF --OJSR ABF --RJZZ ABF --RMP AFPG--LGM #> [13] AHM --JJLH ARS --OAMS CAPV--FGV CAPV--JDQJ CAPV--OAMS CAPV--OJSR #> [19] CAPV--RJZZ CAPV--RMP CAPV--V CH --DFM CH --RMP CL --EHJ #> [25] CMP --OJSR DEAR--LGM DEAR--OJSR DFM --MIAP DFM --RMP DLLS--OJMG #> [31] DLLS--RMP EGM --EHJ EGM --FDS EGM --JLLO EHJ --FARP EHJ --FP #> [37] EHJ --JBH EHJ --JC EHJ --JJLH EHJ --JLPC EHJ --OJSR EHJ --RJZZ #> + ... omitted several edges
core_as_igraph(get_data("cocaine_smuggling_mambo"))
#> IGRAPH bf17a39 UN-- 31 58 -- #> + attr: name (v/c), node_class (v/c), from_class (e/c), to_class (e/c), #> | edge_class (e/c) #> + edges from bf17a39 (vertex names): #> [1] A --CPGT A --HPM AP --ELM AP --JPPM AP --RS ARG --JDD #> [7] ARG --JPPM CPGT--GA CPGT--JPPM CPGT--PCCP CPGT--SNRM CPGT--YPMG #> [13] EDRS--SNRM ELM --FR ELM --HPM ELM --JB ELM --JDD ELM --JPPM #> [19] ELM --LIRP ELM --RS ELM --SNRM ERC --JEAB ERC --JHLM FR --JDD #> [25] FR --JPPM FR --PCCP HAMS--JEAB HAMS--JJTE HAMS--JPPM HAMS--SNRM #> [31] HAMS--YPMG HPM --JPPM HPM --RS JB --JPPM JB --SNRM JDD --JPPM #> [37] JDD --OS JE --SNRM JEAB--JHLM JEAB--SNRM JG --JJTE JG --SNRM #> + ... omitted several edges
core_as_igraph(get_data("harry_potter_death_eaters"))
#> IGRAPH b441918 UNW- 26 128 -- #> + attr: name (v/c), node_class (v/c), from_class (e/c), to_class (e/c), #> | edge_class (e/c), weight (e/n) #> + edges from b441918 (vertex names): #> [1] Lord Voldemort--Rodolphus Lestrange Lord Voldemort--Bellatrix Lestrange #> [3] Lord Voldemort--Walden Macnair Lord Voldemort--Augustus Rookwood #> [5] Lord Voldemort--Antonin Dolohov Lord Voldemort--Corban Yaxley #> [7] Lord Voldemort--Alecto Carrow Lord Voldemort--Amycus Carrow #> [9] Lord Voldemort--Peter Pettigrew Lord Voldemort--Lucius Malfoy #> [11] Lord Voldemort--Barty Crouch Jr. Lord Voldemort--Nott Sr. #> [13] Lord Voldemort--Crabbe Sr. Lord Voldemort--Goyle Sr. #> + ... omitted several edges
core_as_igraph(get_data("harry_potter_dumbledores_army"))
#> IGRAPH e0bbd87 UNW- 29 282 -- #> + attr: name (v/c), node_class (v/c), from_class (e/c), to_class (e/c), #> | edge_class (e/c), weight (e/n) #> + edges from e0bbd87 (vertex names): #> [1] Harry Potter--Hermione Granger Harry Potter--Ronald Weasley #> [3] Harry Potter--Ginny Weasley Harry Potter--Neville Longbottom #> [5] Harry Potter--Luna Lovegood Harry Potter--Lavender Brown #> [7] Harry Potter--Cho Chang Harry Potter--Dean Thomas #> [9] Harry Potter--Fred Weasley Harry Potter--George Weasley #> [11] Harry Potter--Parvati Patil Harry Potter--Padma Patil #> [13] Harry Potter--Hannah Abbot Harry Potter--Seamus Finnigan #> + ... omitted several edges
core_as_igraph(get_data("montreal_street_gangs"))
#> IGRAPH f3a20dd UN-- 35 78 -- #> + attr: name (v/c), node_class (v/c), Allegiances (v/n), Ethnicity #> | (v/n), Territories (v/n), hr_allegiances (v/c), hr_gang_ethnicity #> | (v/c), hr_territories (v/c), from_class (e/c), to_class (e/c), #> | edge_class (e/c) #> + edges from f3a20dd (vertex names): #> [1] BMF --Bo-Gars 18th --Bo-Gars #> [3] Bo-Gars --J.O.K.E.R.S 13th --Bo-Gars #> [5] 47 --Bo-Gars Blue_Devil.2--Bo-Gars #> [7] BMF --Green_Land 18th --BMF #> [9] 187 --BMF AYB.2 --BMF #> + ... omitted several edges
core_as_igraph(get_data("november17"))
#> IGRAPH 68984f8 UN-- 22 66 -- #> + attr: name (v/c), node_class (v/c), Role (v/n), Faction (v/n), #> | Resources (v/n), hr_role (v/c), hr_faction (v/c), hr_resources (v/c), #> | from_class (e/c), to_class (e/c), edge_class (e/c) #> + edges from 68984f8 (vertex names): #> [1] Alexandros Giotopoulos--Anna #> [2] Alexandros Giotopoulos--Christodoulos Xiros #> [3] Alexandros Giotopoulos--Constantinos Telios #> [4] Alexandros Giotopoulos--Dimitris Koufontinas #> [5] Alexandros Giotopoulos--Fotis #> [6] Alexandros Giotopoulos--Nikitas #> + ... omitted several edges
core_as_igraph(get_data("siren"))
#> IGRAPH 45b258d UN-- 44 103 -- #> + attr: name (v/c), node_class (v/c), from_class (e/c), to_class (e/c), #> | edge_class (e/c) #> + edges from 45b258d (vertex names): #> [1] 1 --2 1 --3 1 --4 1 --5 1 --6 1 --7 1 --8 1 --9 1 --10 1 --11 #> [11] 1 --12 1 --13 1 --14 1 --15 1 --16 1 --17 1 --18 1 --19 1 --20 1 --21 #> [21] 1 --22 1 --23 1 --24 1 --25 1 --26 1 --27 1 --36 1 --37 1 --38 1 --39 #> [31] 1 --41 1 --43 1 --44 3 --6 5 --6 5 --8 5 --15 5 --38 5 --43 6 --8 #> [41] 6 --10 6 --15 6 --17 6 --20 6 --24 6 --43 6 --44 8 --10 8 --15 8 --24 #> [51] 8 --44 10--15 10--24 10--36 10--44 11--40 11--42 15--24 15--28 15--29 #> [61] 15--30 15--31 15--32 15--33 15--34 15--35 15--44 16--39 20--24 22--44 #> + ... omitted several edges