Skip to content

Commit 53b3d51

Browse files
authored
Update student_suggestions.md
1 parent bbc1669 commit 53b3d51

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

assignments/student_suggestions.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,38 @@ res <- tibble::tibble(
3131
10 Tomás MH
3232
11 Wellington RS
3333
```
34+
35+
For the final assigment, we get
36+
37+
```r
38+
Students <- c("Aldo", "Caio", "Danilo", "Eduardo",
39+
"FelipeA", "FelipeC", "Fredson", "Gabriela",
40+
"Isaque", "Tomás", "Wellington")
41+
42+
Papers <- c("Paper 1", "Paper 2", "Paper 3", "Paper 4")
43+
44+
set.seed(666^2)
45+
each.paper <- sample(1:length(Papers), length(Students), replace = TRUE)
46+
47+
res <- tibble::tibble(
48+
student = Students,
49+
paper = Papers[each.paper]
50+
)
51+
52+
```
53+
and
54+
```r
55+
student paper
56+
<chr> <chr>
57+
1 Aldo Paper 3
58+
2 Caio Paper 3
59+
3 Danilo Paper 2
60+
4 Eduardo Paper 3
61+
5 FelipeA Paper 3
62+
6 FelipeC Paper 2
63+
7 Fredson Paper 1
64+
8 Gabriela Paper 1
65+
9 Isaque Paper 3
66+
10 Tomás Paper 2
67+
11 Wellington Paper 4
68+
```

0 commit comments

Comments
 (0)