| vectorShow {oce} | R Documentation |
This is similar to str(), but it shows data at the first and
last of the vector, which can be quite helpful in debugging.
vectorShow(v, msg, postscript, digits = 5, n = 2L)
v |
the vector. |
msg |
optional character value indicating a message to show,
introducing the vector. If not provided, then
a message is created from |
postscript |
optional character value indicating an optional message to append at the end of the return value. |
digits |
for numerical values of |
n |
number of elements to show at start and end. If |
A string ending in a newline character, suitable for
display with cat() or oceDebug().
Dan Kelley
vectorShow(pi)
vectorShow(volcano)
knot2mps <- 0.5144444
vectorShow(knot2mps, postscript="knots per m/s")
vectorShow("January", msg="The first month is")