vprint <- function(x){ if(class(x) == "character"){ out = cat(x, sep = "\n") }else if(class(x) == "numeric"){ out = matrix(x, ncol = 1) } print(out) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.