[R] RSEIS could you help

From: stephen sefick <ssefick_at_gmail.com>
Date: Thu, 08 May 2008 09:58:13 -0400


I have dissolved oxygen traces that are continuous (fifteen minutes) for two years (save for a couple of days, weeks, or minutes there depending on the perogative of the river). These traces are spaced out by river mile. I have figured out how to prepare data as to the sunspot example, but I can not figure out how to get multiple traces into the prepSEIS function and this is the warning that I get

Warning messages:
1: In notes[j] = paste(sep = " ", GG[[ima]]$sta, GG[[ima]]$comp) :   number of items to replace is not a multiple of replacement length 2: In stns[j] = GG[[ima]]$sta :
  number of items to replace is not a multiple of replacement length

when I plot this I get what I think is a signal composed of all of the traces, and if I look at the results of prepSEIS it has compressed (I think) all of the signals to one.

x <- read.csv("testDO.csv", header=T)
x.ts <- ts(x, deltat=4/60)

a <-x.ts[,1]
b <- x.ts[,2]
c <- x.ts[,3]
d <- x.ts[,4]

GG <- prep1wig(wig = c(a, b, c, d), sta=c("RM215", "RM202", "RM198", "RM190", comp="DO", units="mg/L")) # I have also tried this without breaking it up into individual data frames
xx <- prepREIS(GG)

plot(x.ts) is what I want to go into PICK.GEN

Any help would be greatly appreciated- I am sure I am missing something. thank you very much

Stephen Sefick

-- 
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods. We are mammals, and have not exhausted the annoying little
problems of being mammals.

-K. Mullis

	[[alternative HTML version deleted]]

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 08 May 2008 - 13:59:56 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 08 May 2008 - 14:30:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive