diff --git a/tibble.Rmd b/tibble.Rmd index dd1815e..89842db 100644 --- a/tibble.Rmd +++ b/tibble.Rmd @@ -147,7 +147,7 @@ Some older functions don't work with tibbles. If you encounter one of these func class(as.data.frame(tb)) ``` -The main reason that some older functions don't work with tibble is the `[` function. We don't use `[` much in this book much because `dplyr::filter()` and `dplyr::select()` allow you to solve the same problems with clearer code (but you will learn a little about it in [vector subsetting](#vector-subsetting). With base R data frames, `[` sometimes returns a data frame, and sometimes returns a vector. With tibbles, `[` always returns a nother tibble. +The main reason that some older functions don't work with tibble is the `[` function. We don't use `[` much in this book much because `dplyr::filter()` and `dplyr::select()` allow you to solve the same problems with clearer code (but you will learn a little about it in [vector subsetting](#vector-subsetting). With base R data frames, `[` sometimes returns a data frame, and sometimes returns a vector. With tibbles, `[` always returns another tibble. ## Exercises