By Rodrigo Esteves de Lima Lopes Campinas University rll307@unicamp.br
Our may objective here is to plot the results we collected last script. The grammar of plotting might be a bit overwhelming, but keep in mind it is just a small introduction.
In this tutorial we use ggplot2
, a package for plotting in R. Other packages should do the job, but ggplot2
is the most popular across R
users.
Plotting:
textplot_network(gabrielboric.top.fcm,
min_freq = 0.1,
edge_alpha = 0.5,
edge_size = 5,
edge_color = 'red')
textplot_network(gabrielboric.top.hash,
min_freq = 0.1,
edge_alpha = 0.5,
edge_size = 5,
edge_color = 'red')
textplot_network(gabrielboric.top.handles,
min_freq = 0.1,
edge_alpha = 0.5,
edge_size = 5,
edge_color = 'red')
textplot_network(sebastianpinera.top.fcm,
min_freq = 0.1,
edge_alpha = 0.5,
edge_size = 5,
edge_color = 'darkgreen')
textplot_network(sebastianpinera.top.hash,
min_freq = 0.1,
edge_alpha = 0.5,
edge_size = 5,
edge_color = 'darkgreen')
textplot_network(sebastianpinera.top.handles,
min_freq = 0.1,
edge_alpha = 0.5,
edge_size = 5,
edge_color = 'darkgreen')