R/statswithr_lab.R

Defines functions statswithr_lab

statswithr_lab = function(...) {

  # get the locations of resource files located within the package
  css = system.file("lab.css", package = "statsr")

  # call the base html_document function
  rmarkdown::html_document(css = css, 
                           highlight = "pygments",
                           theme = "cerulean",
                           fig_width = 7,
                           fig_height = 4,
                           ...)
}

Try the statsr package in your browser

Any scripts or data that you put into this service are public.

statsr documentation built on Jan. 23, 2021, 1:05 a.m.