Appendix F — Assignment F

Instructions

  1. You may talk to a friend, discuss the questions and potential directions for solving them. However, you need to write your own solutions and code separately, and not as a group activity.

  2. Do not write your name on the assignment.

  3. Make R code chunks to insert code and type your answer outside the code chunks. Ensure that the solution is written neatly enough to understand and grade.

  4. Render the file as HTML to submit.

  5. The assignment is worth 100 points, and is due on 5th March 2024 at 11:59 pm.

  6. You are not allowed to use a for loop in this assignment, except in the last question on Sudoku.

F.1 TED Talks

Execute the following code to get the object ted_talks, which contains information about TED talks.

Note that you are not allowed to use a for loop or any other kind of loop in all the questions below.