tbl_df {tibble} | R Documentation |
A data frame tbl 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(data)
data |
a data frame |
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 print.tbl_df
[
Never simplifies (drops), so always returns data.frame
[[
, $
Calls .subset2
directly,
so is considerably faster. Throws error if column does not exist.