Nothing
# -----------------------------------------------------------------------------
# Utility function to convert single-column data frames to vectors,
# and all other data frames to numeric matrices
# -----------------------------------------------------------------------------
clean_input <- function(obj) {
if (is.data.frame(obj)) {
if (ncol(obj) == 1) {
return(obj[[1]])
} else {
return(as.matrix(obj))
}
}
return(obj)
}
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.