Skip to content
Prev 13075 / 63421 Next

tail(<matrix>) column numbers

I disagree with Martin's assertion that "tail" is not useful
for programming.  It has a few features relative to the
do-it-yourself approach:

*)  It compactly makes the intention clear.
*)  It automatically handles cases where there may be
either a vector or a matrix.
*)  It handles cases where there is less data than is being
sought (which may or may not be a good thing).

"tail" of functions is what is definitely intended for interactive
use.

Pat
Martin Maechler wrote: