hello folks
[snip]
but it is frustrating when base
functionality only works with vectors, not matrices, or arrays. It
would be more compelling if (e.g.) t and rev also had dimension
arguments.
Hadley
--
well put! I would add, though, that t() generalizes to aperm(),
and the magic
well put! I would add, though, that t() generalizes to aperm(),
and the magic package contains arev() which is a generalization
of rev().
There are the flip operators of matlab, and rotating matrices/array by
multiples of 90 degrees.
I'm always on the lookout for other array functionality
hello Hadley
thanks for this...
There are the flip operators of matlab, and rotating matrices/array by
multiples of 90 degrees.
arot() in the magic package does this (which is an operation
frequently encountered in magic hypercubes)
I'm always on the lookout for other array functionality