Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Identifying required packages from code

Tags:

r

I want to follow the tutorial found on this site, but despite being thorough in all other aspects, the author has not included information on what packages need to be used for the code to function.

As far as I understand one of them will be the PerformanceAnalytics package, yet my inexperienced eye is not sure about what else I will need to include.

The fapply function used in the code is one example that I cannot find.

fapply()

Error: could not find function "fapply"

like image 922
youjustreadthis Avatar asked Jun 10 '26 18:06

youjustreadthis


2 Answers

library(sos)
findFn("fapply", sortby = "Function")
like image 85
Henk Avatar answered Jun 13 '26 12:06

Henk


The findFN(...) function is great. It should open an internet browser window with the search results by itself at least it does for me.

like image 26
Joyvalley Avatar answered Jun 13 '26 11:06

Joyvalley



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!