Which Systems Should I Use?
R has many OOP frameworks, some of which are better than others. Test your ability to choose an appropriate framework by deciding which of the following statements is true.
- Knowing how to use S3 is a fundamental R skill.
- R6 and ReferenceClasses are powerful OOP frameworks.
- If it’s good enough for
ggplot2
, it’s good enough for me. I should make regular use of proto. - I should use any framework with a number in its name.
- S4 is useful for working with Bioconductor.
This exercise is part of the course
Object-Oriented Programming with S3 and R6 in R
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
