[R] How to assigen column of matrix

Minghua Yao myao at ou.edu
Mon Apr 21 17:00:11 CEST 2003


Hi, 

A simple question.

I want to assign values to columns (or rows) of a matrix.

It seems that
AA[,i]<-A; # A is a vector or array;
doesn't work. 

How can I accomplish that?

Thanks alot.

-MY



More information about the R-help mailing list