Skip to content
Prev 351300 / 398502 Next

Double Hierarchical Generalized Linear Models

On May 27, 2015, at 10:00 AM, Mariana Velasque wrote:

            
It means the either one or more of those are not matrices or that dim(z)[2] is not equal to dim(v_h)[1]

Cannot multiply matrix and array
Error in matrix(1:4, 2) %*% array(1:8, c(2, 2, 2)) : 
  non-conformable arguments
[,1] [,2] [,3] [,4]
[1,]    7   15   23   31
[2,]   10   22   34   46
[1] TRUE
Error in matrix(1:4, 2) %*% matrix(1:8, 4) : non-conformable arguments

Suggests to me that you are sending the function a data layout that it was not designed to handle.
Many people think it is rather discourteous to leave this code in without a comment symbol in front of it as a warning.
Since we cannot see these 'data', none of the rest of the code will be meaningful other than letting us see that none of your objects had those names. (But perhaps one of your columns was named "z" or "v_h"? The error is apparently not being trapped in the setup process for matrix algebra, so the maintainer is the only person who has a good chance of debugging.  You are advised in the posting guide to first send questions about rarely used packages ... along with the data ... to the package maintainer.
snipped
Please learn to use your mail client to send plain text. (It's not hard to do this with gmail.)
David Winsemius
Alameda, CA, USA