gl: Wrapper to get a glimpse of your data

View source: R/gl.R

glR Documentation

Wrapper to get a glimpse of your data

Description

Wrapper around dplyr::glimpse() to save me typing something over and over again.

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's a little like str() applied to a data frame but it tries to show you as much data as possible. (And it always shows the underlying data, even when applied to a remote data source.)

Usage

gl(x, width = NULL, ...)

Arguments

x

An object to glimpse at.

width

Width of output: defaults to the setting of the width option (if finite) or the width of the console.

...

Unused, for extensibility.

Value

x original x is (invisibly) returned, allowing glimpse() to be used within a data pipe line.

Examples

gl(mtcars)

gl(nycflights13::flights)

emilelatour/lamisc documentation built on April 9, 2024, 10:33 a.m.