From hadley at rice.edu  Mon Jan  9 01:24:48 2012
From: hadley at rice.edu (Hadley Wickham)
Date: Sun, 8 Jan 2012 18:24:48 -0600
Subject: [Rd] seq_along and rep_along
In-Reply-To: <CAHHjBM6J2PvGd-ZRYF6rrAzcrbNZn7-t488yawO=cPJDfonpcw@mail.gmail.com>
References: <CABdHhvEUtWfj6+2kT6fsD5CYgx66g1+C5gNhdLTA0M60Dw+YbQ@mail.gmail.com>
	<4F074B28.8020307@gmail.com>
	<CABdHhvHPOjrKBKimuJ9F++YcXXL2y9Mn+LghAHo8k1qSc1gTDg@mail.gmail.com>
	<CAHHjBM6J2PvGd-ZRYF6rrAzcrbNZn7-t488yawO=cPJDfonpcw@mail.gmail.com>
Message-ID: <CABdHhvGVZo2GLwNrPpZpUOgqMr3Gv76_5_d_8u5jOrTX_d92_A@mail.gmail.com>

> 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 of this type
> that might sit well with magic. ?Anyone?

Have you considered pulling out the matric manipulation functions from
magic?  I think they'd do well in their own package, and would be more
findable.

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



[Rd] seq_along and rep_along
Hadley Wickham