tbl_df-class: 'tbl_df' class

Description Properties of tbl_df Behavior of tbl_df See Also

Description

The tbl_df class is a subclass of data.frame, created in order to have different default behaviour. The colloquial term "tibble" refers to a data frame that has the tbl_df class. Tibble is the central data structure for the set of packages known as the tidyverse, including dplyr, ggplot2, tidyr, and readr.

The general ethos is that tibbles are lazy and surly: they do less and complain more than base data.frames. This forces problems to be tackled earlier and more explicitly, typically leading to code that is more expressive and robust.

Properties of tbl_df

Objects of class tbl_df have:

Behavior of tbl_df

How default behaviour of tibbles differs from that of data.frames, during creation and access:

See vignette("invariants") for a detailed description of the behavior.

Furthermore, printing and inspection are a very high priority. The goal is to convey as much information as possible, in a concise way, even for large and complex tibbles. Read more in formatting.

See Also

tibble(), as_tibble(), tribble(), print.tbl(), glimpse()


tibble documentation built on Nov. 8, 2021, 1:07 a.m.