Get startedGet started for free

Can a function find its variables?

Consider this function

x_plus_y <- function(x) {
  x + y
}

This exercise is part of the course

Introduction to Writing Functions in R

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise