Skip to content
Permalink
Browse files

Revert "Remove last subsetting challenge to which no solution can be …

…found"

This reverts commit d06abc8.
  • Loading branch information...
katrinleinweber committed May 24, 2019
1 parent a1bbbe4 commit 8fe49a959b17a161b1f67e48ccd56499fd803dd3
Showing with 3 additions and 0 deletions.
  1. +3 −0 _episodes_rmd/01-starting-with-data.Rmd
@@ -500,6 +500,7 @@ We'll learn why this is so in the next lesson.
> Given those answers,
> explain what `animal[-1:-4]` does.
>
> 1. Use a slice of `animal` to create a new character vector that spells the word "eon", i.e. `c("e", "o", "n")`.
> > ## Solutions
> >
> > 1. `animal[4:1]`
@@ -509,6 +510,8 @@ We'll learn why this is so in the next lesson.
> > `animal[-1:-4]` remove the slice, returning `"e" "y"`, which is
> > equivalent to `animal[5:6]`.
> >
> > 1. `animal[c(5,2,3)]` combines indexing with the `c`ombine function.
> >
> {: .solution}
{: .challenge}

0 comments on commit 8fe49a9

Please sign in to comment.
You can’t perform that action at this time.