You are on page 1of 3

Tarea 1

Nicole Arévalo Ramírez

A continuación se presenta el script para realizar el grafo de mi ego network.


library(igraph)

##
## Attaching package: 'igraph'
## The following objects are masked from 'package:stats':
##
## decompose, spectrum
## The following object is masked from 'package:base':
##
## union
g = read.csv("edgelist.csv", sep=";", header = FALSE)
g = graph_from_data_frame(g, directed = TRUE)
plot(g,
vertex.label.family = "sans",
edge.curved = TRUE,
edge.arrow.size = 0.2,
edge.arrow.mode = "<->",
vertex.color = "#FEDCDB",
vertex.frame.color = "#FEDCDB",
vertex.label.color = "#FD788B",
vertex.size = 20)

Uriel
Daniela
David
Natalia

Ruth
Angela Nicole

Jorge Manuel Clara


Carolina
Lila Mollie
Laura
BlueHoracio

1
:
~
÷
_

IT
S
71
<
L
s o
§ I
.
7 _ .

8- ^
< ✓
E
_

0
9 ^ I

9- D
> -
.

€ s a
<
> I 7
< a
e-
a
9


E
-

'
§ µ

÷ ✓ L
T
§
7
<

T E. r
>
n r

j
•É<
T >
]
'
< s E

>
\
g
8- >
3 % T >
> ann

>
Ei '
L '
S _
ar s

A ¥ > ,
> ?
<
¥ "
9 r jlv
,
J -
L
e
J L ) §
§ • <
- '
-


7
)
L 8 a
J > <
§ 7

8
T

You might also like