Nothing
#' Function to make make multiple args of the same name from a
#' single input with length > 1
#' @param x Value
makemultiargs <- function(x){
value <- get(x, envir = parent.frame(n = 2))
if( length(value) == 0 ){ NULL } else {
if( any(sapply(value, is.na)) ){ NULL } else {
if( !is.character(value) ){
value <- as.character(value)
}
names(value) <- rep(x, length(value))
value
}
}
}
#' Function to make a list of args passing arg names through multiargs function.
#' @param x Value
collectargs <- function(x){
outlist <- list()
for(i in seq_along(x)){
outlist[[i]] <- makemultiargs(x[[i]])
}
as.list(unlist(compact(outlist)))
}
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.