Advanced Programming in R

Date: Wednesday 07 December 2022, 9.30AM
Location: Royal Statistical Society Office, London
CPD: 12.0 hours
12 Errol Street
London
EC1Y 8LX
RSS Training


Share this event

Level: Professional (P)

This training course covers R object-oriented programming (OOP) techniques. The first day discusses 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. On the second day we 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!

Please note: Bookings will close 4 working days before the course start date or when the course has reached its maximum capacity.
 

Level: Professional (P)

This training course covers R object-oriented programming (OOP) techniques. The first day discusses 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. On the second day we 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”

 

Dr. Nicola Rennie

Nicola has a PhD in Statistics and Operational Research, with a focus on outlier detection in functional data. She enjoys sharing her knowledge of R, creating data visualisations, working closely with clients to help them get the most from their data.

 

Fees

   

Registration before 
 7 November 2022

 

Registration on/after
 7 November 2022

                                  


Non Member 

RSS Fellow 

RSS CStat/Gradstat/Data Analyst 
also MIS & FIS

 

£623.22+vat 

£530.40+vat 

£499.80+vat

£693.60+vat 

£588.54+vat 

£553.86+vat

Group discounts are also available*:


3-5 people

6-8 people

9+ people
*Discount only applies to non-member price

 


10% discount

15% discount

20% discount