Displaying 2 results from an estimated 2 matches for "ind100".
Did you mean:
id100
2009 Sep 11
2
Accumulating results from "for" loop in a list/array
...10
> ind4
[1] 1 6 7
> accum
[1] 4 5 9 10 1 2 7 8 9 8 9 10 1 6 7
Are there any alternative method where the highlighted statement above can
be represented without typing individual objects manually? (as it can be
very tedious with large number of objects; i.e ind1, ind2, ....., ind100)
Also, is there any way to extract individual objects ('ind1' etc) from
'accum'?
> accum[1:length(ind1)]
[1] 4 5 9 10
gives 'ind1', but this may become messy for other objects (like 'ind10')
Highly appreciate for sharing your expertise in solving this probl...
2009 Sep 11
3
For sending my R package as part of R-project
...10
> ind4
[1] 1 6 7
> accum
[1] 4 5 9 10 1 2 7 8 9 8 9 10 1 6 7
Are there any alternative method where the highlighted statement above can
be represented without typing individual objects manually? (as it can be
very tedious with large number of objects; i.e ind1, ind2, ....., ind100)
Also, is there any way to extract individual objects ('ind1' etc) from
'accum'?
> accum[1:length(ind1)]
[1] 4 5 9 10
gives 'ind1', but this may become messy for other objects (like 'ind10')
Highly appreciate for sharing your expertise in solving this probl...