Many times we want to apply some method or we need an algorithm but we don't have the time to implemented or simply we don't know how to do it. For this situations is good to know how to look for the best or more standardized packages that R offered.
Here is my trick.
- Install the package "sos"
- Use the function findFn to find the related packages to a given topic.
Let's first install the package sos using the code:
install.packages("sos")
library("sos")
Now we want to know which packages are available for example for "Particle Swarm Optimisation". Let's use the function findFn as follow:
findFn("Particle Swarm Optimisation")
found 18 matches; retrieving 1 page
Downloaded 10 links in 4 packages.
And automatically we will be redirected to a website with the list of packages founded:
I don't know which is the best package for PSO but at least I know the best scored.