Hi, anybody can help me with this? can JAGS solve the inverse of a matrix in the 3-way array? Thank you!
for(i in 1:n){ for(a in 1:t[i]){ for(b in 1:t[i]){ sigma[i,a,b]<-pow(rho,t[a]-t[b]) } } sigmainverse[i,,]<-inverse(sigma[i,,]) # this is where jags got error } [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.