matrix indexing



On 11/5/10, Ruida Yun <Ruida.Yun at tufts.edu> wrote:

> After digging out some old conversations on the mailing list, I've learned
> that my best shot would be using amatrix package. I loaded the package but
> ended up with this error:
>
> m[[1,2],3]
> apply: subscript must be an integer; found: [1,2]

Try

m : old2new_matrix (m);

which constructs an amatrix object from an ordinary matrix.

Thanks for your interest, it helps to know that it's useful.
Sorry that there isn't any documentation about amatrix,
I'll get around to it one of these days.

best

Robert Dodier