left: Grabs the left side of a data set

View source: R/corner.r

leftR Documentation

Grabs the left side of a data set

Description

Display the left side of a rectangular data set

Usage

left(x, c = 5L, ...)

Arguments

x

The data

c

Number of columns to show

...

Arguments passed on to other functions

Details

Displays the left side of a rectangular data set.

This is a wrapper function for corner

Value

... The left side of the data set that was requested. The size depends on c.

Author(s)

Jared P. Lander www.jaredlander.com

See Also

head tail corner topright bottomleft bottomright topleft right

Examples


data(diamonds)
head(diamonds)      # displays all columns
left(diamonds)    # displays all rows and only the first 5 columns


jaredlander/useful documentation built on Nov. 4, 2023, 10:56 a.m.