#' @export outreg
outreg <- function(models, output.format, label, caption) {
if(output.format=="latex") {
out <- texreg::texreg(l = models, caption = caption,
doctype = F, label = label)
}
if(output.format=="html") {
out <- texreg::htmlreg(l = models, caption = caption, doctype = F)
}
return(out)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.