The R Project SVN R

Rev

Rev 61168 | Rev 67599 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61168 Rev 61975
Line 1... Line 1...
1
% File src/library/stats/man/SignRank.Rd
1
% File src/library/stats/man/SignRank.Rd
2
% Part of the R package, http://www.R-project.org
2
% Part of the R package, http://www.R-project.org
3
% Copyright 1995-2007 R Core Team
3
% Copyright 1995-2013 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{SignRank}
6
\name{SignRank}
7
\alias{SignRank}
7
\alias{SignRank}
8
\alias{dsignrank}
8
\alias{dsignrank}
Line 35... Line 35...
35
\value{
35
\value{
36
  \code{dsignrank} gives the density,
36
  \code{dsignrank} gives the density,
37
  \code{psignrank} gives the distribution function,
37
  \code{psignrank} gives the distribution function,
38
  \code{qsignrank} gives the quantile function, and
38
  \code{qsignrank} gives the quantile function, and
39
  \code{rsignrank} generates random deviates.
39
  \code{rsignrank} generates random deviates.
-
 
40
 
-
 
41
  The length of the result is determined by \code{nn} for
-
 
42
  \code{rsignrank}, and is the maximum of the lengths of the
-
 
43
  numerical parameters for the other functions.  
-
 
44
  
-
 
45
  The numerical parameters other than \code{nn} are recycled to the
-
 
46
  length of the result.  Only the first elements of the logical
-
 
47
  parameters are used.
40
}
48
}
41
\details{
49
\details{
42
  This distribution is obtained as follows.  Let \code{x} be a sample of
50
  This distribution is obtained as follows.  Let \code{x} be a sample of
43
  size \code{n} from a continuous distribution symmetric about the
51
  size \code{n} from a continuous distribution symmetric about the
44
  origin.  Then the Wilcoxon signed rank statistic is the sum of the
52
  origin.  Then the Wilcoxon signed rank statistic is the sum of the