Provides a 'tbl_df' class (the "tibble") that provides stricter checking and better formatting than the traditional data frame.
The S3 class
tbl_df wraps a local data frame. The main
advantage to using a
tbl_df over a regular data frame is the printing:
tbl objects only print a few rows and all the columns that fit on one screen,
describing the rest of it as text.
tbl_df implements four important base methods:
By default only prints the first 10 rows (at most 20), and the
columns that fit on screen; see
Never simplifies (drops), so always returns data.frame
so is considerably faster. Returns
NULL if column does not exist,
Row number threshold: Maximum number of rows
printed. Set to
Inf to always print all rows. Default: 20.
Number of rows printed if row number threshold is exceeded. Default: 10.
Output width. Default:
Number of extra columns printed in reduced form. Default: 100.