Skip to content
Prev 78475 / 398502 Next

Singular matrix

'x' is a rank 5 matrix from which you want to create a rank 10 
crossproduct! Try the following instead:

x <- array(rnorm(100 * nitems, 3, 3), c(100, nitems))
sigma <- crossprod(x)

I hope it helps.

Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/(0)16/336899
Fax: +32/(0)16/337015
Web: http://www.med.kuleuven.be/biostat/
     http://www.student.kuleuven.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "Marc Bernard" <bernarduse1 at yahoo.fr>
To: <r-help at stat.math.ethz.ch>
Sent: Thursday, October 06, 2005 3:11 PM
Subject: [R] Singular matrix
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm