I am aware of the most basic stuff, especially vectorization and
subscripting.

I only gave a simple example with length 4. I need to do that for vectors of
length 190.

Are there any in-built commands?

Or should I write the loops myself?

Thank you.



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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to