search for: applyfilt

Displaying 4 results from an estimated 4 matches for "applyfilt".

Did you mean: applefile
2013 Aug 27
1
[plyr] Moving average filter with plyr
...a problem using plyr to process a rather large junk of data. What I'm trying to do is applying a moving average to all the subparts of the dataframe (the example data can be found here https://dl.dropboxusercontent.com/u/2414056/testData.Rdata). require(plyr) load("testData.Rdata") applyfilter<-function(x){ return(filter(x,rep(1/5, times=5))) } data.trash<-ddply(data, .(FileNo, ChannelNo), transform, filtered=applyfilter(ChannelB)) The result from this is Error in attributes(output[[var]]) <- attributes(value) : invalid time series parameters specified though the number...
2009 Nov 30
3
Specifying sub-filters
Hello everyone. I have been looking at the filtering on Mapstraction and realized that it does not allow for sub-filters. I have modified the applyFilter function to accommodate sub filters. for example if I wanted to filter all houses that are blue and green and also all warehouses irrespective of color now I can use map.addFilter(''Type'', ''eq'', { pFilter: "House", sFilter: [&...
2001 Dec 14
2
colSums in C
...t;dx[1]; j++) z[i] += x[i + dx[0]*j]; else for(j=0; j<dx[1]; j++) for(i=0; i<dx[0]; i++) z[j] += x[i + dx[0]*j]; } Possibly useful audit trail: agate|Rpkg> R SHLIB g.colSums/src/*.c /res/local/bin/gcc -I/res/local/lib/R/include -I/res/local/include -fPIC -g -O2 -c g.colSums/src/applyfilt.c -o g.colSums/src/applyfilt.o /res/local/bin/gcc -I/res/local/lib/R/include -I/res/local/include -fPIC -g -O2 -c g.colSums/src/applysum.c -o g.colSums/src/applysum.o /res/local/bin/gcc -shared -o g.colSums/src/applyfilt.so g.colSums/src/applyfilt.o g.colSums/src/applysum.o -L/res/local/inclu...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...+ ["_global.flash.display", "BitmapData", false], + ["_global.flash.display.BitmapData", "loadBitmap", true], + ["_global.flash.display.BitmapData", "prototype", false], + ["_global.flash.display.BitmapData.prototype", "applyFilter", true], + ["_global.flash.display.BitmapData.prototype", "clone", true], + ["_global.flash.display.BitmapData.prototype", "colorTransform", true], + ["_global.flash.display.BitmapData.prototype", "compare", true], + ["_glo...