[R] Problems with Mann-Kendall trend test

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Fri Jun 17 23:58:40 CEST 2016


Not reproducible. Use dput to generate R code form of your data along with the code that gave you the error, and set the email to plain text only when you send it so it doesn't get corrupted when the html is stripped on the mailing list. 
-- 
Sent from my phone. Please excuse my brevity.

On June 17, 2016 12:47:07 PM PDT, lily li <chocold12 at gmail.com> wrote:
>Dear R users,
>
>Can anyone help me with mann-kendall trend test? I tried to use the
>newest
>packages 'trend', and the function mk.test, but had problems in
>applying
>the input data.
>
>For example, res <- mk.test(Nile), Nile is a time-series data. But when
>I
>use my dataset, with one column which is a time-series data, it says
>"error: input must be ts object". How to do this? Thanks for your help.
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>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.

	[[alternative HTML version deleted]]



More information about the R-help mailing list