The R Project SVN R

Rev

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

Rev 59455 Rev 60220
Line 1... Line 1...
1
% File src/library/base/man/rank.Rd
1
% File src/library/base/man/rank.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-2008 R Core Team
3
% Copyright 1995-2012 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{rank}
6
\name{rank}
7
\alias{rank}
7
\alias{rank}
8
\title{Sample Ranks}
8
\title{Sample Ranks}
Line 51... Line 51...
51
  classed objects, possibly rather slowly.
51
  classed objects, possibly rather slowly.
52
}
52
}
53
\value{
53
\value{
54
  A numeric vector of the same length as \code{x} with names copied from
54
  A numeric vector of the same length as \code{x} with names copied from
55
  \code{x} (unless \code{na.last = NA}, when missing values are
55
  \code{x} (unless \code{na.last = NA}, when missing values are
56
  removed).  The vector is of integer type unless \code{ties.method =
56
  removed).  The vector is of integer type unless \code{x} is a long
-
 
57
  vector or \code{ties.method = "average"} when it is of double type
57
    "average"} when it is of double type (whether or not there are any ties).
58
  (whether or not there are any ties).
58
}
59
}
59
\seealso{
60
\seealso{
60
  \code{\link{order}} and \code{\link{sort}}.
61
  \code{\link{order}} and \code{\link{sort}}.
61
}
62
}
62
\examples{
63
\examples{