Advanced Programming in R

Date:

10/12/2024 - 13/12/2024

Organised by:

Royal Statistical Society

Presenter:

Jumping Rivers Tutor

Level:

Advanced (specialised prior knowledge)

Contact:

training@rss.org.uk

Map:

View in Google Maps  (EC1Y 8LX)

Venue:

Online

Description:

Level: Professional (P)

This online training course covers R object-oriented programming (OOP) techniques. It will be delivered over 4 afternoons.The course will discuss what OOP is and the different varieties within R. Beginning with the popular S3 and S4 OOP frameworks, it finishes with the new {R6} package that is used extensively in Shiny applications. The course will then introduce the {rlang} package as a way of parsing variables from a data set into a function. We then cover {renv} and its uses in managing workflows, by isolating your project’s R dependencies and managing library paths!

 

Learning Outcomes
  • Select the most appropriate form of OOP for their task
  • Leverage encapsulation, polymorphism and inheritance to provide a nice user interface to code
  • Extend the functionality of functions for new object types
  • Use the {rlang} operators !!, !!! and := to pass variables
  • Modify user functions using enquo()
  • Parse and deparse expressions
  • Construct reproducible data analysis workflows with {renv}
  •  
Target Audience

This course assumes that participants are comfortable with the fundamentals of R programming. As such the course will be of interest to anyone who uses R, in particular those who want to develop their computer skills to cover more advanced topics. This course would be very useful for participants who do not have a formal background in programming.

 

Delegate Feedback

“I am not scared of R anymore. It was actually fun!”

“The balance between lectures and practicals was good”

“Very clear lectures and hand-outs”

Cost:

£668.40 to £926.40 (including VAT)

Website and registration:

Register for this course

Region:

Greater London

Keywords:

Quantitative Data Handling and Data Analysis, R


Related publications and presentations from our eprints archive:

Quantitative Data Handling and Data Analysis
R

Back to the training database