Compilation of miscellaneous functions I like to keep at hand.
Install directly from the source code on GitHub. Requires Hadley Wickham’s devtools R package:
install.packages("devtools")
devtools::install_github("luisvalesilva/silvar")You can find the documentation website at luisvalesilva.com/silvar.
Function documentation is accessible within R in the standard way, by typing one of the following:
help("function_name")
?function_nameYou can also get the list of included functions directly within R using one of the following:
ls("package:silvar") # List function names
lsf.str("package:silvar") # List function names and their argumentsFor a short description of the process of creating an R package, check out my blog post about it.