tribble

0th

Percentile

Row-wise tibble creation

Create tibbles using an easier to read row-by-row layout. This is useful for small tables of data where readability is important. Please see tibble-package for a general introduction.

Usage
tribble(...)
Arguments
...

Arguments specifying the structure of a tibble. Variable names should be formulas, and may only appear before the data.

Details

frame_data() is an older name for tribble(). It will eventually be phased out.

Value

A tibble.

Aliases
  • tribble
  • frame_data
Examples
# NOT RUN {
tribble(
  ~colA, ~colB,
  "a",   1,
  "b",   2,
  "c",   3
)

# tribble will create a list column if the value in any cell is
# not a scalar
tribble(
  ~x,  ~y,
  "a", 1:3,
  "b", 4:6
)
# }
Documentation reproduced from package tibble, version 1.3.4, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.