remove extra 0 compared to the declared instruction on line 42 of generating 20 random test-training splits

This commit is contained in:
Devin Pastoor 2016-05-28 13:15:10 +02:00
parent d101d7e62a
commit c12a384ece
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])