ABSTRACT

This chapter gives a quick introduction to object-oriented programming. The primary goal of this chapter is to demonstrate how users of Python and R can define their own types. It also highlights the different approaches taken by R and Python.