Nothing
natural_order <- function(data, cols){
# data should be only a matrix or a data frame at this point
stopifnot(is.matrix(data) || is.data.frame(data))
df <- as.data.frame(data)
if(is.numeric(cols)){
cols <- paste0("df[[", cols, "]]", collapse = ", ")
} else {
cols <- paste0("df[[\"", cols, "\"]]", collapse = ", ")
}
eval(str2expression(paste0("order(", cols, ")")))
}
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.