topleft: Grabs the top left corner of a data set

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/corner.r

Description

Display the top left corner of a rectangular data set

Usage

1
topleft(x, r = 5L, c = 5L, ...)

Arguments

x

The data

r

Number of rows to display

c

Number of columns to show

...

Arguments passed on to other functions

Details

Displays the top left corner of a rectangular data set.

This is a wrapper function for corner

Value

... The top left corner of the data set that was requested. The size depends on r and c.

Author(s)

Jared P. Lander www.jaredlander.com

See Also

head tail corner topright bottomleft bottomright left right

Examples

1
2
3
data(diamonds)
head(diamonds)      # displays all columns
topleft(diamonds)    # displays first 5 rows and only the first 5 columns

useful documentation built on June 7, 2017, 9:02 a.m.