Session Ready
Exercise

Braces

Braces {} can be used to combine expressions and assignments into one.

All expressions and assignments are executed, but only the value of the last expression is returned.

Which value will be returned by the following piece of R-code?

{ x <-  10
  y <-  5
  x + y  
  y - x 
  x / y }
Instructions
50 XP
Possible Answers