top: Show the top part of an object

Description Usage Arguments Value See Also Examples

View source: R/buil.R

Description

Combines head with a number of columns arguments

Usage

1
top(mat, n = 5)

Arguments

mat

a matrix or data.frame

n

number of rows/ columns to display

Value

A matrix with the specified number of rows/columns

See Also

head

Examples

1
2
3
4
## Not run:  x = matrix(rnorm(10),ncol = 5)
             top(x, n = 2)

## End(Not run)

sheila-NAA/anotherone documentation built on Dec. 23, 2021, 1:22 a.m.