On Tue, 30 Jan 2007, Allin Cottrell wrote:
Sorry, at present the matrix selection mechanism [..] does not
work right for matrices that are "attached to objects" such as
logement.$coeff. (So far as I'm aware, this has never worked
right so far; it's something I will fix before the next
release.)
Hmm, "never worked right" is wrong, I think. Some relatively
recent change must have broken this. I'll work on that today.
Here's a simple example that does the sort of thing you want, and
works OK:
open data4-10
foo <- ols 1 0 2 3 4 5
bar <- ols 6 0 2 3 4 5
matrix B1 = foo.$coeff
matrix B2 = bar.$coeff
matrix Z = zeros(2,4)
Z[1,] = transp(B1[2:5])
Z[2,] = transp(B2[2:5])
print Z
Allin