Merge pull request #105 from dpastoor/master

fix extra 0
This commit is contained in:
Hadley Wickham 2016-06-03 09:43:39 -04:00
commit 427ebd6ac0
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ partition(mtcars, 0.1)
We'll generate 20 random test-training splits, and then create lists of test-training datasets:
```{r}
partitions <- rerun(200, partition(mtcars, 0.25))
partitions <- rerun(20, partition(mtcars, 0.25))
tst <- partitions %>% map(~mtcars[.x, , drop = FALSE])
trn <- partitions %>% map(~mtcars[!.x, , drop = FALSE])