Re: [R] how to eliminate first row in datafile created in do loop

2011-05-24 Thread Ian Gow
"32.88533117" >one.month "9" "25.1349430375" "29.838291435" >one.month "10" "23.48982439" "27.14611846" >one.month "11" "22.88814497" "27.52782293" >one.month "12" &q

Re: [R] how to eliminate first row in datafile created in do loop

2011-05-24 Thread Graves, Gregory
"11" "22.88814497" "27.52782293" one.month "12" "24.5178851225" "28.248711925" -Original Message- From: Ian Gow [mailto:iand...@gmail.com] Sent: Tuesday, May 24, 2011 8:58 AM To: Graves, Gregory; Nungesser, Martha; r-hel

Re: [R] how to eliminate first row in datafile created in do loop

2011-05-24 Thread Ian Gow
Gregory: Would setting limit.list <- NULL at the start do the trick? See example below: Analogue of your example: lower <- 0 upper <- 0 limit.list<-data.frame(lower,upper) for(i in 1:12) { some.data <- rnorm(2) lower <- min(some.data) upper <- max(some.data) one.month <- data.frame(low

[R] how to eliminate first row in datafile created in do loop

2011-05-24 Thread Graves, Gregory
I am trying to create a routine that would take a time series and generate monthly 25%tile and 75%tile limits based on 12 calendar months. I have succeeded to create a do loop to do this, but can't figure out how to initiate the receiving datafile (in this case "limit.list") without sticking an ini