Displaying 1 result from an estimated 1 matches for "tiesmethod".
Did you mean:
ties_method
2007 Mar 03
0
2 bugs in max.col() (PR#9542)
...c("random", "first", "last"))
if (is.na(ties.method))
stop("illegal ties method")
ret <- .C("R_row_maxwithindex_double"
, x=as.double(x)
, nr=d[1]
, nc=d[2]
, narm = as.integer(na.rm)
, index=integer(d[1])
, tiesmethod=as.integer(ties.method)
, NAOK = TRUE, DUP = FALSE, PACKAGE = "base")[c("index")]
i <- cbind(seq(length=d[1]), ret$index)
if (is.na(value))
ret$value <- x[i]
if (!is.null(index))
ret$index <- index[i]
if (is.na(value)){
if (use.name...