Skip to content

Commit f06a8c2

Browse files
authored
Merge pull request #171 from albhasan/numbering_of_challenge_158
The challenges' numbering was updated
2 parents 0c0e3d4 + 9617caf commit f06a8c2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

episodes/03-data-structures-part1.Rmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ class(categories)
373373

374374
::::::::::::::::::::::::::::::::::::::: challenge
375375

376-
## Challenge
376+
## Challenge 3
377377

378378
Can you guess why these numbers are used to represent these countries?
379379

@@ -389,7 +389,7 @@ They are sorted in alphabetical order
389389

390390
::::::::::::::::::::::::::::::::::::::: challenge
391391

392-
## Challenge 3
392+
## Challenge 4
393393

394394
Convert the `country` column of our `nordic` data frame to a factor. Then try
395395
converting it back to a character vector.
@@ -402,7 +402,7 @@ Remember that you can reload the `nordic` data frame using
402402

403403
::::::::::::::: solution
404404

405-
## Solution to Challenge 3
405+
## Solution to Challenge 4
406406

407407
Converting character vectors to factors can be done using the `factor()`
408408
function:
@@ -508,7 +508,7 @@ str(nordic[1, ])
508508

509509
::::::::::::::::::::::::::::::::::::::: challenge
510510

511-
## Challenge 4
511+
## Challenge 5
512512

513513
There are several subtly different ways to call variables, observations and
514514
elements from data frames:
@@ -527,7 +527,7 @@ Try out these examples and explain what is returned by each one.
527527

528528
::::::::::::::: solution
529529

530-
## Solution to Challenge 4
530+
## Solution to Challenge 5
531531

532532
```{r, eval=TRUE, echo=TRUE}
533533
nordic[1]

0 commit comments

Comments
 (0)