1. Learn
  2. /
  3. Courses
  4. /
  5. Basic Statistics

Exercise

Documenting your code

Adding comments to your code is extremely important to make sure that you and others can understand what your code is about. R makes use of the # sign to add comments.

It's important to note that comments are not run as R code, so they will not influence your result. For example, Calculate 3 + 4 in the editor on the right is a comment and is ignored during execution.

Instructions

100 XP

Add another comment in the editor on the right, Calculate 6 + 12, at the appropriate location.