print.tbl_df: Print tbl_df objects

View source: R/utilities.R

print.tbl_dfR Documentation

Print tbl_df objects

Description

Modified print function for tbl_df that permits rounding of numeric entries

Usage

## S3 method for class 'tbl_df'
print(x, ..., round = 3, n = NULL, width = NULL)

Arguments

x

Object to show

round

Number of digits to print after the comma

n

Number of rows to show. If ‘NULL’, the default, will print all rows if less than option ‘dplyr.print_max’. Otherwise, will print ‘dplyr.print_min’

width

Width of text output to generate. This defaults to NULL, which means use ‘getOption("width")’ and only display the columns that fit on one screen. You can also set ‘options(dplyr.width = Inf)’ to override this default and always print all columns.

Details

Taken and modified from Richard Scrivens answere to http://stackoverflow.com/questions/34246552/

Author(s)

float


floatofmath/bt88.03.704 documentation built on March 25, 2022, 12:28 p.m.