glimpse: Get a glimpse of your data

View source: R/glimpse.R

glimpseR Documentation

Get a glimpse of your data

Description

glimpse() is like a transposed version of print(): columns run down the page, and data runs across. This makes it possible to see every column in a data.frame. It is no more than a wrapper around utils::str() only it returns the input (invisibly) meaning it can be used within a data pipeline.

Usage

glimpse(x, width = getOption("width"), ...)

Arguments

x

An object to glimpse at.

width

integer(1). Width of the output.

...

Additional parameters to pass to utils::str().

Value

x, invisibly.

Examples

glimpse(mtcars)


poorman documentation built on Nov. 2, 2023, 5:27 p.m.