Description Usage Arguments Value Examples
This function gives you an ego network of a package (the package and its surrounders).
1 2 3 | who_are_you(pack, plot.it = TRUE, return.map = F, nwords = 5,
add_my_packs = FALSE, my_packs_neighbors = FALSE,
point.size = "downloads", min.point.size = 15, max.point.size = 30)
|
pack |
The package of interest. |
plot.it |
Should the network be plotted? Default is TRUE |
return.map |
Should the network be returned? Default is FALSE |
nwords |
The number of words per line in the package's description |
add_my_packs |
Should your packages be added to the plot? Default is FALSE |
my_packs_neighbors |
If add_my_packs is TRUE, should only keep the surrounders of pack? Default is FALSE |
point.size |
The aspect of the packages giving their size. If 'score', their size is given based in their score. If 'downloads', their size is base in ther daily downloads. Else its the same for all of them. If you want to specify a size use min.point.size |
min.point.size |
The min point size, passed to leaflet. Default is 15 |
max.point.size |
The max point size, passed to leaflet. Default is 30 |
A dataframe and also a plot.
1 | who_are_you('leaflet')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.