Displaying 3 results from an estimated 3 matches for "ind10".
Did you mean:
inc10
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 prob...
2009 Feb 26
1
Incorporating cumsum in for loop
...36 0 2008 1 1
0 0 32 1 1 66
45540 13168 2008-08-05 10.3 32 0 2008 1 0
0 0 34 0 1 66
And I want like this for every x-value, illustrated with x=118:
> a
CHR_NR diffdato diffCHR aar ind10 diffind10 dato63 diffdato63
diffdato1 x akkusum
12558 2000-06-30 49.8 38 0 2000 1 1 0
0 27 1 1 118 27 12558 2000-07-27 51.0 27
0 2000 1 0 0 0 14 0...
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 prob...