[R] Matrix in R

Dieter Menne dieter.menne at menne-biomed.de
Fri Feb 18 15:27:01 CET 2011



danielepippo wrote:
> 
>    I'm building a matrix in R with a cycle for like this:
> pp_ris2=matrix(NA,6,6)
> for(i in 0:6){
> .....
> 

R is not like c, indexing starts with 1.

Dieter


-- 
View this message in context: http://r.789695.n4.nabble.com/Matrix-in-R-tp3312748p3312764.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list