view {PBSmodelling} | R Documentation |
View the first or last or random n
elements or rows of an object.
Components of lists will be subset also.
view(obj, n=5, last=FALSE, random=FALSE, ...)
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 ). |
Rowan Haigh, Pacific Biological Station, Nanaimo BC