Since todays ground water may be influenced by yesterdays rainfall, you may want to look at the dynlm package and possibly lag.plot and the zoo package.
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Chris Li > Sent: Wednesday, September 23, 2009 5:37 PM > To: r-help@r-project.org > Subject: [R] Statistical analysis > > > Hi all, > > I have got two datasets, one of them is rainfall data and the other one > is > groundwater level data. > > I would like to see whether there is a correlation between these two > datasets and if there is, to what extent they are correlated. > > My stats background is limited, therefore any advice on which command I > should use in R would be greatly appreciated. > > Thanks in advance. > Chris > -- > View this message in context: http://www.nabble.com/Statistical- > analysis-tp25531331p25531331.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@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. ______________________________________________ R-help@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.