[R] 'for' in steps

RhoR fiona at fiona24.orangehome.co.uk
Fri Oct 28 00:29:15 CEST 2011


I want to use 
for (i in 1:time) 

but I want the increments to be monthly.

For example, if I'm adding interest to a virtual bank account monthly, for a
total of 'time' in years which the user has entered.

Is there a simple way of doing this please? I'm not familiar with many R
functions yet.

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



More information about the R-help mailing list