Everything that happens is a function call

When you are using R, every computation happens because of a call to a function.

In other words, every operation made on an object is linked to a function. And you've been using functions from the very first day you started R: <- is a function, as is [.

What do you think would be the output of this code?

class(`$`)

This exercise is part of the course

Intermediate Functional Programming with purrr

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise