Tribble now in dev tibble
This commit is contained in:
parent
b632d512f7
commit
672acd61aa
|
@ -818,9 +818,6 @@ The first argument is a list of functions or character vector of function names.
|
|||
|
||||
You can use `tibble::tribble()` to make creating these matching pairs a little easier:
|
||||
|
||||
```{r, include = FALSE}
|
||||
tribble <- tibble::frame_data
|
||||
```
|
||||
```{r, eval = FALSE}
|
||||
sim <- tribble(
|
||||
~f, ~params,
|
||||
|
|
|
@ -49,11 +49,6 @@ You'll also need the backticks when working with these variables in other packag
|
|||
|
||||
Another way to create a tibble is with `tribble()`, short for **tr**ansposed tibble. `tribble()` is customised for data entry in code: column headings are defined by formulas (i.e. they start with `~`), and entries are separated by commas. This makes it possible to lay out small amounts of data in easy to read form.
|
||||
|
||||
```{r, include = FALSE}
|
||||
# Until https://github.com/hadley/tibble/issues/143 is fixed
|
||||
tribble <- frame_data
|
||||
```
|
||||
|
||||
```{r}
|
||||
tribble(
|
||||
~x, ~y, ~z,
|
||||
|
|
Loading…
Reference in New Issue