Learn R Programming

Rlab (version 4.0)

view: View first rows of a data set

Description

View the first X rows (10, by default) rows of a data set. Columns names are displayed if appropriate.

Usage

view(x, maxlines = 10)

Arguments

x

data set to be viewed; can be data.frame, matrix, list or vector.

maxlines

maximum number of rows to be displayed.

Details

If the data set contains more rows than maxlines, then a message indicating the number unviewed rows id displayed. If the data set contains fewer rows the maxlines, only those rows are displayed.

See Also

ls, objects