Shows a part of the data.frame which allows for grasping the nature of
the data. The function is typically used to make sure that the data is
what was desired and to grasp the nature of the variables in the phase
of getting acquainted with the data.
returns invisibly the character vector containing the formatted data
Arguments
data
a data.frame, a matrix, or a vector
first
the first first rows will be shown and ...
nrow.
a selection of nrow. rows will be shown in
addition. They will be selected with equal row number differences.
The last row is always included.
ncol.
number of columns (variables) to be shown. The first and
last columns will also be included. If ncol. has more than
one element, it is used to identify the columns directly.
digits
number of significant digits used in formatting numbers