x is empty or only contains NAs which are to be
removed, -1 is returned.getMaxIndex(x, ties.method = "random", na.rm = FALSE)getMinIndex(x, ties.method = "random", na.rm = FALSE)
numeric]
Input vector.character(1)]
How should
ties be handled? Possible are: logical(1)]
If FALSE, NA
is returned if an NA is encountered in x. If
TRUE, NAs are disregarded. Default is
FALSEinteger(1)].