#' String to numeric vector
#'
#' @param string A string containing numbers
#' @param sep The separator between numbers
#'
#' @export
str2vec <- function(string, sep = ' ') {
as.numeric(unlist(strsplit(as.character(string), sep)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.