-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathassignmentF_v2.qmd
More file actions
33 lines (22 loc) · 1.29 KB
/
assignmentF_v2.qmd
File metadata and controls
33 lines (22 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
title: "Assignment F (R: Lists and Recursion)"
subtitle: "R: Lists and recursion"
format:
html:
toc: true
self-contained: true
link-external-newwindow: true
editor_options:
chunk_output_type: console
---
## 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. There are 5 points for clealiness and organization. The code should be commented and clearly written with intuitive variable names. For example, use variable names such as number_input, factor, hours, instead of a,b,xyz, etc.
6. The assignment is worth 100 points, and is due on **30th May 2023 at 11:59 pm**.
7. You are **not allowed to use a `for` loop** in this assignment, except in the last question on Sudoku.
## 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.