Nothing
get_comparators <- function(pairs) {
UseMethod("get_comparators")
}
get_comparators.pairs <- function(pairs) {
# when using compare_vars or compare_pairs, the comparator is stored
# as an attribute in the column; retreive those
comparators <- lapply(pairs, attr, which = "comparator")
# remove elements without comparator
comparators[!sapply(comparators, is.null)]
}
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.