Rdocumentation
powered by
Learn R Programming
oce (version 0.9-19)
vectorShow: Show some values from a vector
Description
This is similar to
str
, but it shows data at the first and last of the vector, which is quite helpful in debugging.
Usage
vectorShow(v, msg, digits = 5)
Arguments
v
the vector.
msg
a message to show, introducing the vector. If not provided, then a label is created from
v
.
digits
for numerical values of
v
, this is the number of digits to use, in formatting the numbers with
format
; otherwise,
digits
is ignored.
Value
A string, suitable for using in
cat
or
oceDebug
.