[R] Create vectors from a vector

Dimitris Kapetanakis gamitor at gmail.com
Mon Mar 15 00:14:26 CET 2010


Thanks a lot. It is exactly what I was looking for. I found though and
another way (worse) to do it, so I just post in case someone find it useful

sk<-nz*e*(vnk[c(i:0)]%*%vro[c(0:i)])

for(i in 0:200){
sk[i]<-nz*e*(vnk[c(i:0)]%*%vro[c(0:i)])
}

-- 
View this message in context: http://n4.nabble.com/Create-vectors-from-a-vector-tp1592334p1592793.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list