Giter VIP home page Giter VIP logo

adv-r-course's Introduction

Advanced R Workshop

This two-day workshop will cover advanced R topics including:

  • writing functions (e.g., characteristics of well-written functions, lazy evaluation, error and warning handling)
  • debugging strategies and tools
  • succinctly applying functions to vectors with the map() family of functions within the purrr package
  • split-apply-combine strategies for applying functions to chunks of data (e.g., list-column data frames)
  • using profiling tools to find code speed bottlenecks
  • using benchmarking tools to compare code speed
  • parallel processing approaches (with a focus on the future package)
  • using Rcpp to link basic C++ code with R to eliminate bottlenecks

Prior to taking this workshop, participants will be expected to have reviewed a subset of the Foundations sections of the Advanced R book by Hadley Wickham https://adv-r.hadley.nz/ (Names and values, Vectors, Subsetting, and Control flow) and be familiar with the basics of ggplot2 and dplyr. See https://r4ds.had.co.nz/data-visualisation.html and https://r4ds.had.co.nz/transform.html.

See admin/outline.md for an outline of learning goals and software requirements.

Functions and functional programming

  • Introduction and foundations refresher
    • intro.key
    • tools.key
  • Functions
    • functions.key
    • adv-functions.key
  • Debugging functions
    • debugging.key
    • debugging.Rmd
  • Functional programming: iterating with functions via the purrr package
    • iteration.Rmd + purrr.key
  • List-column data frames and other split, apply, combine strategies
    • list-columns.Rmd
  • Tidy evaluation
    • tidy-eval.Rmd

Performance

  • Benchmarking
    • performance.key + benchmarking.Rmd
  • Profiling
    • profiling.Rmd
  • Parallel processing
    • parallel.key
    • futures-introduction.Rmd
    • future-bootstrap.Rmd
  • Rcpp
    • rcpp.key
    • rcpp-introduction.Rmd

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.