Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tbl_sum

Provide a succinct summary of an object


Description

tbl_sum() gives a brief textual description of a table-like object, which should include the dimensions and the data source in the first element, and additional information in the other elements (such as grouping for dplyr). The default implementation forwards to obj_sum().

Usage

tbl_sum(x)

Arguments

x

Object to summarise.

Details

This generic will be moved to pillar, and reexported from there as soon as it becomes available.

Value

A named character vector, describing the dimensions in the first element and the data source in the name of the first element.

See Also


pillar

Coloured Formatting for Columns

v1.6.0
MIT + file LICENSE
Authors
Kirill Müller [aut, cre], Hadley Wickham [aut], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.