mann_kendall | R Documentation |
Performs the Mann-Kendall trend test. This function is a wrapper around
mk.test
. See documentation there for more details about
the calculation
mann_kendall(x, alternative = c("greater", "two.sided", "less"),
continuity = TRUE)
x |
a vector of class "numeric" or a time series object of class "ts" |
alternative |
the alternative hypothesis, defaults to |
continuity |
logical, indicates whether a continuity correction
should be applied, defaults to |
a tidy data frame with the test results
x <- runif(100) * 1:100
mann_kendall(x, alternative = "two.sided")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.