Skip to content
Prev 30921 / 398506 Next

How to assigen column of matrix

Dear Minghua Yao,

Commands of the form AA[, i] <- A do indeed work, although the number of 
elements in the i-th row of AA has to be a multiple of the number of 
elements in A. Perhaps you can specify in more detail what it is that you 
want to do and the nature of the error that you encountered.

I hope that this helps,
  John
At 10:00 AM 4/21/2003 -0500, Minghua Yao wrote:

            
____________________________
John Fox
Department of Sociology
McMaster University
email: jfox at mcmaster.ca
web: http://www.socsci.mcmaster.ca/jfox