Re: [R] In R 2.14.1, what does wrong sign in 'by' argument mean?

2012-02-21 Thread bioinformatics
Thats all well and good but the number im using is a positive so that shouldn't be happening. -- View this message in context: http://r.789695.n4.nabble.com/In-R-2-14-1-what-does-wrong-sign-in-by-argument-mean-tp4407926p4408074.html Sent from the R help mailing list archive at Nabble.com. __

[R] In R 2.14.1, what does wrong sign in 'by' argument mean?

2012-02-21 Thread bioinformatics
Here is my code slidingwindowplotATGC = function(windowsize, inputseq) { starts = seq(1, length(inputseq)-windowsize, by = windowsize) n = length(starts) chunkGs = numeric(n) chunkAs = numeric(n) chunkTs = numeric(n) chunkCs = numeric(n) for (i in 1:n) {