Nothing
merge_cols <- function(data, fun, ...) {
# Helper function merge columns of matrix into one vector
#
# @param data data matrix
# @param fun function to deal with different values per row
# @param ... additional arguments to fun
#
# @return vector with combined columns
data <- as.matrix(data)
res <- apply(data, 1, function(xx) fun(unique(na.omit(xx)), ...))
res[res == ""] <- NA
res
}
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.