SIH Tech Tidbits

Useful tips, libraries and tools from the Sydney Informatics Hub team

R Articles






Using ellipsis (...) and purrr::pmap()

Function with arbitrary arguments using ellipsis (...) Let's define a function which takes in arbitrary arguments and evaluates an expression on those arguments: eval_expres <- function(expres, ...){ #this part gets all the …



R Profiling: Making R less aRduous

Table of contents: Brief introduction to profiling, and why we might want to do it Methods to measure function speed/performance Ways to generate function profiles Visualizing and analaysing profiles …