#' @export
rank_product <- function (...) {
data.frame(...) %>%
mutate_all(
~ rank_fraction(.)) %>% # WAS: mutate_each(funs(rank_fraction)) %>%
apply(
MARGIN = 1,
GM)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.