Displaying 1 result from an estimated 1 matches for "tp3031718p3031718".
2010 Nov 08
4
Create Matrix of 2 Dim from two vectors
...,5) (3,6)
I tried some thing like this:
xy <- as.data.frame(c(0,0,0), dim=c(3,3))
for(i in 1:3)
for(j in 1:3)
xy[i][j]<-c(x[i],y[j])
but i got errors..!!!!
any help would appreciate
--
View this message in context: http://r.789695.n4.nabble.com/Create-Matrix-of-2-Dim-from-two-vectors-tp3031718p3031718.html
Sent from the R help mailing list archive at Nabble.com.