The R Project SVN R

Rev

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

Rev 59039 Rev 61150
Line 25... Line 25...
25
  \item{x}{an \R object.}
25
  \item{x}{an \R object.}
26
}
26
}
27
\details{
27
\details{
28
  This is a special case of ranking, but as a less general function than
28
  This is a special case of ranking, but as a less general function than
29
  \code{\link{rank}} is more suitable to be made generic.  The default
29
  \code{\link{rank}} is more suitable to be made generic.  The default
30
  method is similar to \code{rank(x, ties.method="min",
30
  method is similar to \code{rank(x, ties.method = "min",
31
    na.last="keep")}, so \code{NA} values are given rank \code{NA} and all
31
    na.last = "keep")}, so \code{NA} values are given rank \code{NA} and all
32
  tied values are given equal integer rank.
32
  tied values are given equal integer rank.
33
 
33
 
34
  The \code{\link{factor}} method extracts the codes.  The
34
  The \code{\link{factor}} method extracts the codes.  The
35
  \code{\link[survival]{Surv}} method sorts first on times and then on
35
  \code{\link[survival]{Surv}} method sorts first on times and then on
36
  status code(s).
36
  status code(s).