Nothing
# This is a hidden function of the l2boost package.
# determines which index maximizes a vector, with some elements excluded
#
# @param vec values to maximize
# @param exclude vector of indices to exclud
#
which.max.ind <- function(vec, exclude = NULL) {
if (!is.null(exclude)) {
if (length(vec[-exclude]) == 0) return(NULL)
max.ind <- which(vec == max(vec[-exclude], na.rm = TRUE))
setdiff(max.ind, exclude)
}
else {
which(vec == max(vec, na.rm = TRUE))
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.