showd {relevance} | R Documentation |
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.
showd(data, first = 3, nrow. = 4, ncol. = NULL, digits=getOption("digits"))
data |
a data.frame, a matrix, or a vector |
first |
the first |
nrow. |
a selection of |
ncol. |
number of columns (variables) to be shown. The first and
last columns will also be included. If |
digits |
number of significant digits used in formatting numbers |
returns invisibly the character vector containing the formatted data
Werner A. Stahel, ETH Zurich
showd(iris)
data(d.blast)
names(d.blast)
## only show 3 columns, including the first and last
showd(d.blast, ncol=3)
showd(cbind(1:100))