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@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.

Reply via email to