Skip to content

Commit 43166dd

Browse files
authored
Create student_suggestions.md
1 parent ea4e4d6 commit 43166dd

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

assignments/student_suggestions.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
```r
2+
Students <- c("Aldo", "Caio", "Danilo", "Eduardo",
3+
"FelipeA", "FelipeC", "Fredson", "Gabriela",
4+
"Isaque", "Tomás", "Wellington")
5+
6+
Methods <- c("RS", "IS", "GS", "MH")
7+
8+
set.seed(666)
9+
each.method <- sample(1:length(Methods), length(Students), replace = TRUE)
10+
11+
res <- tibble::tibble(
12+
student = Students,
13+
method = Methods[each.method]
14+
)
15+
16+
```
17+
```r
18+
> res
19+
# A tibble: 11 × 2
20+
student method
21+
<chr> <chr>
22+
1 Aldo IS
23+
2 Caio IS
24+
3 Danilo MH
25+
4 Eduardo GS
26+
5 FelipeA GS
27+
6 FelipeC MH
28+
7 Fredson IS
29+
8 Gabriela RS
30+
9 Isaque RS
31+
10 Tomás MH
32+
11 Wellington RS
33+
```

0 commit comments

Comments
 (0)