Displaying 20 results from an estimated 50 matches similar to: "Extracting maximums from a sliding window"
2006 Jul 27
1
maximums of ext3?
Where can I find the maximums of ext3? Today I ran into trouble after a
directory had 31999 subdirectories in it (not including . or ..). I know
that ext3 can hold many more regular files than that, but where are the
limits defined?
2011 Oct 27
1
Fitting Maximums of data series with cubic spline
Hi Users,
I want to fit the maximums of a data series with a cubic spline. How do I
go about this in R.
I failed to figure out how I can use the mgcv library to do this.
Thanks
----------------------------
ZABLONE
2008 Jan 24
1
Sliding Window Time Series Analysis - hourly rainfall
I have a time series of rainfall in a dataframe. I would like to be
able to aggregate this using a sliding window approach- i.e. a new 24
hourly total is calculated for each hours rainfall. I'm struggling to
understand how this might be achieved - currently I've tried looping a
sum function to re-calculate a new total at every stage of the loop.
for (inp[[9]] in
2014 Oct 15
0
[PATCH nbdkit] streaming plugin: Add support for a sliding window
[Sorry, can't use git-send-email at the moment ...]
These patches implement a sliding window for the streaming plugin[1]
in nbdkit.
I would like to be able to stream a filesystem from tools such as
'virt-make-fs'[2]. This is a fairly frequently requested feature.
Unfortunately:
(a) The patches make the code significantly more complex and therefore
likely to have bugs.
(b) They
2006 Jan 31
0
Sliding game screen
Hello again,
Does anyone know why some FPS games tend to have the screen slide
sideways occasionally, showing part of the desktop (this is a dual
display system so my desktop is 2048x768). I've configured the metamode
settings in xorg.conf to blank the primary monitor when the games go
full screen and change the resolution -- which works fine except when
the mouse movement causes the screen
2006 Feb 02
0
Sliding screen in games [again]
Okay, I've posted this twice before and if I've learned anything with
Linux it's that "patience and persistence is the key".
Anyway, when I play First-Person-Shooters in wine sometimes the screen
will slide if I move the mouse too far to the side. Generally happens
when the game hangs for a second -- trying to catch up with sound or
video or when I drop the console to type
2007 May 15
0
sliding window approach
Dear all,
I would like to know if there is any R package that uses a sliding window approach to assess statistical significance out of my data. My data is composed of DNA sequences (of variable length) that are mapped to a genome with a determined score of alignment.
So, I want to see if I can find more tags in a given region of the genome as opposed to finding them by chance. In this sliding
2012 Feb 28
1
aggregating specific parts in zoo index column to perform sliding average
Here's my code:
http://pastebin.com/0yRxEVtm
The important parts are uncommented and should be easy to find using the
link above. For the following line of code, I plan on looking for a way to
offset it up 7 rows so that the 15 minute timestamp would be considered the
"median" of the subset being averaged to find the mean:
avgCool = aggregate(intCool, trunc(time(intCool),
2012 Mar 03
1
Sliding Window in R (solved)
Dear all,
you can find below my solution for sliding a window. Please find below the code for the two alternatives and the benchmarks.
install.packages('caTools')
require(caTools)
do_sliding_for_a_window_duty_cycle <- function(DataToAnalyse, windowSize) {
data<-DataToAnalyse
out <- numeric()
elements<- numeric()
if (length(data[,1]) >= windowSize){
for
2012 Mar 03
4
Sliding a Window in R
Dear all,
I am having a vector of around 300.000 elements and I Want to slide fast a window from the first element until the last-Windowsize
what I have so far is the following for statement:
for (i in 1:(length(data[,1]) - windowSize)) {
out[i] <- mean(data[i:(i + windowSize - 1), ])
elements[i]<-length(i:(i + windowSize - 1))
}
but this of course takes ages to
2010 Jul 07
3
use sliding window to count substrings found in large string
Hello together,
I'm looking for advice on how to do some tests on strings.
What I want to do is the following:
(just an example, real strings/sequence are about 200-400 characters long)
given set of Strings:
String1 abcdefgh
String2 bcdefgop
use a sliding window of size x to create an vector of all subsequences
of size x
found in the set (order matters! ).
Now create, for every string
2006 Jun 22
5
Sliding Gallery
I have a little image gallery application in rails enough for small galleries
(20< photos). But as images increase and the user needs to scroll down the
page it starts getting anoying to see all pictures...
I thought pagination but then I saw this AJAX goodness
http://www.apple.com/getamac/ads/
As you can see the videos scroll right/left when the arrows are pressed in a
circular manner
2009 Mar 30
2
Sliding window over irregular intervals
Dear all,
I have some very big data files that look something like this:
id chr pos ihh1 ihh2 xpehh
rs5748748 22 15795572 0.0230222 0.0268394 -0.153413
rs5748755 22 15806401 0.0186084 0.0268672 -0.367296
rs2385785 22 15807037 0.0198204 0.0186616 0.0602451
rs1981707 22 15809384 0.0299685 0.0176768 0.527892
rs1981708 22 15809434 0.0305465 0.0187227 0.489512
rs11914222 22 15810040 0.0307183
2012 Oct 16
2
sliding window analysis with rollapply
Dear List members
I want to do the sliding window analysis of some specific values. Here is my code:
require(zoo)
dat <- read.table("chr1.txt", header = TRUE, sep="\t")
dat2 <- cbind(dat[1,3]) #The first column is also important. It represents the position of the site on the chromosome.
TS <- zoo(c(dat2))
a <- rollapply(TS, width=1000000, by=200000, FUN=mean,
2008 Dec 16
8
sliding window over a large vector
Hi all,
I have a very large binary vector, I wish to calculate the number of
1's over sliding windows.
this is my very slow function
slide<-function(seq,window){
n<-length(seq)-window
tot<-c()
tot[1]<-sum(seq[1:window])
for (i in 2:n) {
tot[i]<- tot[i-1]-seq[i-1]+seq[i]
}
return(tot)
}
this works well for for reasonably sized vectors. Does
2004 Dec 01
2
barplot() using beside=TRUE and the density argument
Hi
I am using barplot() to draw some barplots, with a matrix as the data so
that multiple bars are drawn for each data point. I want to use the
argument "beside=TRUE" to juxtapose the bars instead of stacking them.
If I execute:
barplot(data,names.arg=names,density=c(20,10),beside=FALSE)
I get the expected behaviour i.e. the bottom part of the column is
shaded 20 lines per inch, the
2004 Dec 01
2
request for help on statistical applications in pharma
Hi all there
Can some one who have experience and knowledge in the pharma industry give me broad details on the subject "Statistical applications for pharma industry". I am new to the subject i.e. what kind of statistical tools used being unique /or atleast specific for pharma industry.
It will be of great help as i am actively looking into the subject. though i am quite familiar
2004 Dec 01
1
split() and paste() a vector to get a multi line string
How can I get a multi line string from a vector of string tokens
in an easy manner (e.g. for the use as xlab of a plot)?
I have e.g.:
> tokens <- letters[1:5]
[1] "a" "b" "c" "d" "e"
I search:
[1] "a, b, c\nd, e"
I tried:
> nlines <- 2
> ntokens.line <- ceiling(length(tokens) / nlines)
> token.list <-
2004 Nov 02
4
Loadhistory problems
History files saved using nFile Save History do not open when using File Load History. I notice that when they are saved they do not seem to have a file extension and there is no option to chose an extension. Is this a problem. Other than this it seems so simple that I can't see what the problem is. I've tried using loadhistory and savehistory with the same problems. The syntax guide
2004 Dec 01
2
Data Frame Manipulations
Hi
I have used merge() to merge two data frames, very much like performing
a SQL join. Now I want to do a few different SQL-style things and I
wondered if there were functions to do it...
Is there a "group by" style function? For example if I merge() two data
frames and end up with multiple rows for each "id", and want to take the
average of the values of a particular