Description Usage Arguments Value Examples
This function provides you with recommendations of new packages to install.
1 2 3 4 | recommend_me(relationship = "suggests",
my_packs = rownames(utils::installed.packages()),
kind.of = "to_packages", apply.degree.filter = F, niter = 50,
nMax = NULL)
|
relationship |
The kind of relationship you use to recommend. It can be 'suggests','imports','enhances' or 'depends'. |
my_packs |
The packages that you are interested to use as reference. Default is your installed packages |
kind.of |
The direction of the relations. If you want packages recommending my_packs, it should be "to_packages", and if you want packages recommended by my_packs, it should be "from_packages". It can also be "all". |
apply.degree.filter |
If TRUE, the score of each package is multiplied by the fraction of its edges that conect to my_packs. |
niter |
The number of interations done to calculate the score. |
nMax |
The max number of elements to be retrieved. Default is the full list. |
A list with packages and scores for each one.
1 2 3 4 5 | ## Not run:
pack_list = recommend_me()
install.packages(names(pack_list)[1])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.