<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Thank you very much, Peter. That does make it clearer. Billy Peter Ehlers [via R] wrote: On 2011-03-21 14:16, armstrwa wrote: > Hi, > > I am running a correlation analysis on a temporal dataset. I was wondering > if you would receive the same tau and p values running the function: > > MannKendall(x), where x is the dependant variable that changes with time > > as you would running: > > Kendall(d,x), where x is the exact same dataset as the x entered into > MannKendall and d is the date on which the observation was made (assuming > that the order is the same as the data I entered into the Kendall function). > > Can anyone elucidate this for me? > Assuming that you're referring to the (unstated) package Kendall, a quick look at the code for MannKendall tells you that MannKendall(x) just does Kendall(1:length(x), x). Does that answer your question? Peter Ehlers ______________________________________________ [hidden email] 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. If you reply to this email, your message will be added to the discussion below: http://r.789695.n4.nabble.com/Kendall-v-MannKendall-Functions-tp3394821p3395771.html To unsubscribe from Kendall v MannKendall Functions, click here . -- William Armstrong Hydrology Research Assistant NOAA Restoration Center 55 Great Republic Drive Gloucester, MA 01930 email: william.armstr...@noaa.gov ph: 978-675-2181 -- View this message in context: http://r.789695.n4.nabble.com/Kendall-v-MannKendall-Functions-tp3394821p3397082.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]] ______________________________________________ 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.