peep: Fit data.frame print into console width

Description Usage Arguments Value Author(s)

View source: R/peep.R

Description

Fit data.frame print into console width

Usage

1
peep(x, n = 6, digits = 4, r2c = FALSE)

Arguments

x

Data.frame or matrix to be printed. Object is coerced to data.frame.

n

Integer. Max number of first and last rows to print. Default is 6.

digits

Integer, to what number of digits numeric columns are being rounded. Default is 4.

r2c

Logical. If TRUE, rownames are coerced to a column which is placed at the beginning of the data.frame. Default is FALSE.

Value

Invisibly returns a data.frame in case you would need it for some reason. The main side effect is printing of the abridged version to the console.

Author(s)

Roman Lustrik (roman.lustrik@biolitika.si)


romunov/peep documentation built on July 21, 2020, 1:01 p.m.