Description Usage Arguments Details
Download and visualize team networks based on data in a Google Spreadsheet.
make_net
downloads data and creates igraph object.
vis_net
draws created igraph object.
vis_all
visualizes all networks and saves them to files 'XXXX.png'
1 2 3 4 5 6 7 8 9 10 11 | vis(sheet, ...)
make_net(d)
vis_net(g, vid = V(g), gid = "all", vcol = c("#66c2a5", "yellow",
"#8da0cb", "white"), vshape = c("mbcircle", "mbsquare"), vframe = c(black
= NA, `#e41a1c` = 0, `#377eb8` = 1), gcol = RColorBrewer::brewer.pal(8,
"Set3"), ggroups = TRUE)
vis_all(sheet_names = NULL, skip_sheets = NULL, overwrite = FALSE,
verbose = FALSE, ...)
|
sheet |
sheet name |
... |
other arguments passed to |
d |
data frame downloaded from GS |
g |
igraph object |
vid |
numeric ids of vertices to draw, all by default |
gid |
numeric ids of groups to draw or |
vcol |
vertex color mapping |
vshape |
vertex shape mapping |
vframe |
vertex frame color mapping |
gcol |
vertex group color mapping |
ggroups |
whether to take groups into account when calculating layout |
sheet_names |
names of GS sheet names to visualize, if |
skip_sheets |
character vector, if |
overwrite |
logical redo existing files |
verbose |
logical give verbose output or not |
Needs authorisation with gs_auth()
first.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.