print.tbl_df {tibble}R Documentation

Tools for describing matrices

Description

Tools for describing matrices

Usage

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

trunc_mat(x, n = NULL, width = NULL, n_extra = 100)

Arguments

x

Object to show.

n

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

width

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

See Also

tibble-package

Examples

trunc_mat(mtcars)

print(tbl_df(mtcars))
print(tbl_df(mtcars), n = 1)
print(tbl_df(mtcars), n = 3)
print(tbl_df(mtcars), n = 100)


[Package tibble version 1.0 Index]