Displaying 3 results from an estimated 3 matches for "endindex".
Did you mean:
end_index
2008 Mar 26
3
Loop problem
...nd
them remove rows from the data frame which have an index close to the
extracted top record.
topstorm<-subset(rankeddataset[1,]) ## Extracts the top storm
topstormindex<-rankeddataset[1,1] ## Finds the top storm start index
startindex<-topstormindex-48 ## sets the start and end indexes
endindex<-topstorminde+48
rankeddataset<-rankeddataset[-1,] ## Creates a new list with the top
storm removed
##This section of code needs looped. It removes storms from the list
which are too close to the extracted storm
for (i in 1:30){
if (rankeddataset[i,1]>startindex && rankeddataset...
2007 Nov 07
4
partially sum variable of a dataframe
Hello,
A stupid question:
I have an array with two columns, the first "a" acting as my index in 0.25 steps, the second one "b" the column of interest. How can i sum up "b" only for a specified window in "a" (as the window command for time series)
a=seq(0,10,0.25)
b=runif(41)
c=data.frame(a,b)
Sum up c if 3<a<5.25
How to do that? thanks
marc
--
2012 Apr 19
0
[LLVMdev] Target Dependent Hexagon Packetizer patch
...void VLIWPacketizerList::PacketizeMIs(MachineBasicBlock *MBB,
>> MachineBasicBlock::iterator BeginItr,
>> MachineBasicBlock::iterator EndItr) {
>> - assert(MBB->end() == EndItr&& "Bad EndIndex");
>> -
>> - SchedulerImpl->enterRegion(MBB, BeginItr, EndItr, MBB->size());
>> -
>> - // Build the DAG without reordering instructions.
>> - SchedulerImpl->schedule();
>> -
>> - // Remember scheduling units.
>> - SUnits = Scheduler...