dfcompare is a simple data frame comparison tool.
devtools::install_github('meihkv/dfcompare')
set.seed(10)
random = function(){ result = rnorm(1) if(result<0){ return(1) } else{ return(result) } }
target = data.frame(sapply(longley, function(x) x*replicate(n = nrow(longley), random())))
dfcompare(longley, target, 'Year', summary = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.