peek {logos} | R Documentation |
Take a Quick Overview of Your Data
Description
peek()
provides a transposed view of your dataset: columns are displayed vertically, while the data for each column
is shown horizontally. This layout allows you to inspect all the columns of a data.frame
at a glance. It serves as a
convenient wrapper around utils::str()
, with the added benefit of invisibly returning the input object, making it
suitable for use in data pipelines.
Usage
peek(x, width = getOption("width"), ...)
Arguments
x |
The object to be inspected. |
width |
|
... |
Additional arguments to pass to |
Value
The input object x
, returned invisibly.
Examples
peek(mtcars)
[Package logos version 0.1.0 Index]