Skip to content
Prev 305061 / 398506 Next

Help: a matrix exponential

This is a matrix algebra problem, not an R problem. ej fails because
betaligne and ZIcolone are not conformable matrices.

dim(betaligne)
1 2

dim(ZIcolone)
76  1

Let a matrix be m x n, then you can only matrix multiply it with a matrix
that is n x k (where m and k are arbitrary positive integers, but n must be
the same). The resulting matrix will be m x k. So you can postmultiply
t(betaligne) with t(ZIcolone) or ZIcolone with betaligne. Everything else is
not conformable.

HTH,
Daniel
(9.5),
--
View this message in context: http://r.789695.n4.nabble.com/Help-a-matrix-exponential-tp4642585p4642589.html
Sent from the R help mailing list archive at Nabble.com.