Hello,
        I am a newcomer to R and therefore apologize for posting such a
basic question. I am
trying to multiply 2 matrices t(X1)%*%X1, where t(X1) is:


            1 2  3  4  5 8 12 13 20 24  26 27  31 33 34 36 37 40 41 42 45 46
47 48 49
ones     1  1 1  1  1 1  1  1  1   1    1  1     1  1  1  1   1   1   1   1
1   1   1   1   1
Shadow 0 1 1  1   1 1  1  1  0   1    1  1     1  0  1  0   1   0   1   1
0   1   0   1   0

However, when I try to perform this operation, I obtain:
Error in t(X1) %*% X1 : requires numeric matrix/vector arguments

Can someone please tell me what I seem to be doing wrong? thanks.

Sincerely,
Murali Kuchibhotla


Murali Kuchibhotla
Department of Economics
Iowa State University
Office:75,Heady
Phone:515-294-5452

	[[alternative HTML version deleted]]

