Skip to content
Prev 30919 / 398506 Next

How to assigen column of matrix

On Mon, 21 Apr 2003, Minghua Yao wrote:

            
It seems that it does work for me:
[,1] [,2]
[1,]    1    3
[2,]    2    4
[,1] [,2]
[1,]    1   10
[2,]    2   11

if that's what you were trying to do.  Note that command lines in R don't
end with a ;, but in this case it doesn't matter.

	-thomas