big.head: Return the First or Last Part of an Object

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

View source: R/big_head.R

Description

Return the First or Last Part of an Object

Usage

1
big.head(x, n = 5, l = 5, r = 5)

Arguments

x

a "data.frame" or a "matrix" object

n

a single, positive integer, number of rows for the object to return

l

a single, positive integer, the number of columns to include on the left

r

a single, positive integer, the number of columns to include on the right

Details

Returns the first or last rows of a data frame like head() and tail(), but also only returns the first and last columns. This has been implemented to check big data frames.

Value

An object (usually) like 'x' but generally smaller.

Author(s)

Pierre Roudier pierre.roudier@gmail.com

See Also

head, tail

Examples

1
2
3
4
5
6
7
8

spectacles documentation built on Jan. 13, 2021, 8:46 a.m.