Learn R Programming

poorman (version 0.2.6)

glimpse: 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"), ...)

Value

x, invisibly.

Arguments

x

An object to glimpse at.

width

integer(1). Width of the output.

...

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

Examples

Run this code
glimpse(mtcars)

Run the code above in your browser using DataLab