corner: Returns the first or last rows and columns of a subsettable...

Description Usage Arguments

View source: R/corner.R

Description

Returns the first or last rows and columns of a subsettable object (matrix, data frame, tibble, data table). Alternative to head or tail.

Usage

1
corner(x, m = 5, n = 5)

Arguments

x

An object

m

a single positive integer. The number of rows to return.

n

a single positive integer. The number of columns to return.


mkumar-rapttx/RAPTR documentation built on July 3, 2021, 10:14 p.m.