This function performs the Daniel Trend test

danielTrend.test(matrix)

Arguments

matrix

Matrix of data

Value

A list with pvalues for alternative hypothesis, statistics, method and data name

Examples

x <- 1:10 m <- matrix(c(x, 2*x+rnorm(length(x))), ncol = 2) danielTrend.test(m)
#> $data.name #> [1] "m" #> #> $statistic #> D R Z #> 0 1 3 #> #> $p.value #> pvalue Positive Dependence pvalue #> 0.000000000 0.001349898 #> Negative Dependence pvalue No Dependence pvalue #> 0.998650102 0.002699796 #> #> $method #> [1] "Daniel Trend" #>