[R] Multiple counters in a single for loop

Deepa deep@m@hm@ii@c @ending from gm@il@com
Fri Aug 24 15:44:19 CEST 2018


Hello,

Is there an option to include multiple counters in a single for loop in R?

For instance, in python there is

for i,j in zip(x,range(0,len(x))):


Any suggestions?

	[[alternative HTML version deleted]]



More information about the R-help mailing list