Displaying 1 result from an estimated 1 matches for "vb11".
Did you mean:
v11
2013 Feb 08
1
help with double looping
hi there,
I have a dataframe in the shape vA1, vA2,..., vA11, vB1, vB2,..., VB11,......., VP1, VP2,...., VP11 (so 16 times a sequence of 11 variables)
I am trying to build a double loop so that i can apply the function (i-1)*v(i) to the first 10 variables, then the same for the next 10 variables, etc... 16 times.
I have tried the following with no luck:
iscores<-list()
for...