view {PBSmodelling}R Documentation

View First/Last/Random n Elements/Rows of an Object

Description

View the first or last or random n elements or rows of an object. Components of lists will be subset also.

Usage

view(obj, n=5, last=FALSE, random=FALSE, ...)

Arguments

obj object to view.
n first (default)/last/random n elements/rows of obj to view.
last logical: if TRUE, last n elements/rows of obj are displayed.
random logical: if TRUE, n random elements/rows (without replacement) of obj are displayed.
... additional arguments (e.g., replace=T if specifying random=T).

[Package PBSmodelling version 2.06 Index]