The R Project SVN R

Rev

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

Rev 85065 Rev 88591
Line 34... Line 34...
34
  if \code{m} has no missing values.\cr
34
  if \code{m} has no missing values.\cr
35
  Correspondingly, \code{ties.method = "last"} returns the \emph{last}
35
  Correspondingly, \code{ties.method = "last"} returns the \emph{last}
36
  of possibly several indices.
36
  of possibly several indices.
37
}
37
}
38
\references{
38
\references{
39
  Venables, W. N. and Ripley, B. D. (2002)
39
  \bibshow{R:Venables+Ripley:2002}
40
  \emph{Modern Applied Statistics with S.}
-
 
41
  New York: Springer (4th ed).
-
 
42
}
40
}
43
\seealso{\code{\link{which.max}} for vectors.
41
\seealso{\code{\link{which.max}} for vectors.
44
}
42
}
45
\examples{
43
\examples{
46
table(mc <- max.col(swiss))  # mostly "1" and "5", 5 x "2" and once "4"
44
table(mc <- max.col(swiss))  # mostly "1" and "5", 5 x "2" and once "4"