The R Project SVN R

Rev

Rev 80080 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 80080 Rev 88459
Line 26... Line 26...
26
  \item{p}{vector of probabilities.}
26
  \item{p}{vector of probabilities.}
27
  \item{nn}{number of observations. If \code{length(nn) > 1}, the length
27
  \item{nn}{number of observations. If \code{length(nn) > 1}, the length
28
    is taken to be the number required.}
28
    is taken to be the number required.}
29
  \item{n}{number(s) of observations in the sample(s).  A positive
29
  \item{n}{number(s) of observations in the sample(s).  A positive
30
    integer, or a vector of such integers.}
30
    integer, or a vector of such integers.}
31
  \item{log, log.p}{logical; if TRUE, probabilities p are given as log(p).}
31
  \item{log, log.p}{logical; if \code{TRUE}, probabilities
-
 
32
    are given as logarithms.}
32
  \item{lower.tail}{logical; if TRUE (default), probabilities are
33
  \item{lower.tail}{logical; if \code{TRUE} (default), probabilities are
33
    \eqn{P[X \le x]}, otherwise, \eqn{P[X > x]}.}
34
    \eqn{P[X \le x]}, otherwise, \eqn{P[X > x]}.}
34
}
35
}
35
\value{
36
\value{
36
  \code{dsignrank} gives the density,
37
  \code{dsignrank} gives the density,
37
  \code{psignrank} gives the distribution function,
38
  \code{psignrank} is the cumulative distribution function,
38
  \code{qsignrank} gives the quantile function, and
39
  \code{qsignrank} is the quantile function, and
39
  \code{rsignrank} generates random deviates.
40
  \code{rsignrank} generates random deviates.
40
 
41
 
41
  The length of the result is determined by \code{nn} for
42
  The length of the result is determined by \code{nn} for
42
  \code{rsignrank}, and is the maximum of the lengths of the
43
  \code{rsignrank}, and is the maximum of the lengths of the
43
  numerical arguments for the other functions.  
44
  numerical arguments for the other functions.
44
  
45
 
45
  The numerical arguments other than \code{nn} are recycled to the
46
  The numerical arguments other than \code{nn} are recycled to the
46
  length of the result.  Only the first elements of the logical
47
  length of the result.  Only the first elements of the logical
47
  arguments are used.
48
  arguments are used.
48
}
49
}
49
\details{
50
\details{
Line 63... Line 64...
63
\seealso{
64
\seealso{
64
  \code{\link{wilcox.test}} to calculate the statistic from data, find p
65
  \code{\link{wilcox.test}} to calculate the statistic from data, find p
65
  values and so on.
66
  values and so on.
66
 
67
 
67
  \link{Distributions} for standard distributions, including
68
  \link{Distributions} for standard distributions, including
68
  \code{\link{dwilcox}} for the distribution of \emph{two-sample}
69
  \code{\link{dwilcox}} for the distribution of the \emph{two-sample}
69
  Wilcoxon rank sum statistic.
70
  Wilcoxon rank sum statistic.
70
}
71
}
71
\examples{
72
\examples{
72
require(graphics)
73
require(graphics)
73
 
74