In addition to
the value of Kendall's tau and its two-sided p-value are displayed,
the Kendall score, its variance and the value of the denominator
for Kendall tau are printed.
Usage
## S3 method for class 'Kendall'
summary(object, ...)
Arguments
object
output from Kendall, MannKendall or SeasonalMannKendall
...
any additional arguments
Value
NULL
Note
If you want to use the output from Kendall or the other functions,
save the result as in res<-Kendall(x,y) and then select from res the
value(s) needed.
x<-1:10
y<-rnorm(10)
out<-Kendall(x,y)
out
summary(out)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Kendall)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Kendall/summary.Kendall.Rd_%03d_medium.png", width=480, height=480)
> ### Name: summary.Kendall
> ### Title: summary Method for Class 'Kendall'
> ### Aliases: summary.Kendall
> ### Keywords: nonparametric
>
> ### ** Examples
>
> x<-1:10
> y<-rnorm(10)
> out<-Kendall(x,y)
> out
tau = -0.289, 2-sided pvalue =0.28313
> summary(out)
Score = -13 , Var(Score) = 125
denominator = 45
tau = -0.289, 2-sided pvalue =0.28313
>
>
>
>
>
> dev.off()
null device
1
>