Skip to content
Prev 313507 / 398502 Next

Matrix multiplication

Suggest you look at the %^% operator from the expm package for raising a matrix to a power.

library(expm)
T %^% 200


Hope this is helpful,

Dan 

Daniel J. Nordlund
Washington State Department of Social and Health Services
Planning, Performance, and Accountability
Research and Data Analysis Division
Olympia, WA 98504-5204