uc: Return the upper left corner of a matrix or data frame

Description Usage Arguments Details Value See Also Examples

Description

Return the upper left corner of a matrix or data.frame

Usage

1
uc(x, nr = 6, nc, ...)

Arguments

x

a matrix or data.frame

nr

the number of rows to return

nc

the number of columns to return

Details

Just used for quick visual inspection of large R objects as an alternative to head

Value

an object of class(x)

See Also

head

Examples

1
2
x <- matrix(rnorm(1000), nrow = 10)
uc(x)

steveped/spShortcuts documentation built on May 30, 2019, 5:39 p.m.