This is an R Markdown document. Markdown is a simple formatting syntax for authoring web pages (click the MD toolbar button for help on Markdown).
When you click the Knit HTML button a web page will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
require(disentangle) require(xtable) dat <- data.frame(a = letters, b = rep(2012, length(letters))) str(dat) ## 'data.frame': 26 obs. of 2 variables: ## $ a: Factor w/ 26 levels "a","b","c","d",..: 1 2 3 4 5 6 7 8 9 10 ... ## $ b: num 2012 2012 2012 2012 2012 ... #dd <- lapply(dat, summary) #dd #data_dict dd <- data_dictionary(dat) print(xtable(dd), type = 'html', include.rownames = F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.