Package‘rmdformats’October14,2022Maintainer Julien Barnier<**********************>Version1.0.4Date2022-05-10License GPL(>=2)Encoding UTF-8Title HTML Output Formats and Templates for'rmarkdown'DocumentsDescription HTML formats and templates for'rmarkdown'documents,with some extra features such as automatic table of contents,lightboxedfigures,dynamiccrosstab helper.Imports knitr,rmarkdown,bookdown,htmltoolsSuggests questionr,DT,palmerpenguins,ggplot2URL https:///juba/rmdformatsBugReports https:///juba/rmdformats/issuesRoxygenNote7.1.2NeedsCompilation noAuthor Julien Barnier[aut,cre]Repository CRANDate/Publication2022-05-1708:50:03UTCR topics documented:downcute (2)html_clean (3)html_docco (4)lockdown (6)material (6)pilltabs (7)print.pilltabs (8)readthedown (9)robobook (10)Index1212downcute downcute Convert to an HTML documentDescriptionFormat for converting from R Markdown to an HTML document.Usagedowncute(fig_width=8,fig_height=5,fig_caption=TRUE,lightbox=FALSE,thumbnails=FALSE,gallery=FALSE,toc_depth=2,embed_fonts=TRUE,use_bookdown=FALSE,pandoc_args=NULL,md_extensions=NULL,mathjax="rmdformats",highlight=NULL,default_style=c("light","dark"),downcute_theme=c("default","chaos"),...)Argumentsfig_width Default width(in inches)forfiguresfig_height Default width(in inches)forfiguresfig_caption TRUE to renderfigures with captionslightbox if TRUE,add lightbox effect to content imagesthumbnails if TRUE display content images as thumbnailsgallery if TRUE and lightbox is TRUE,add a gallery navigation between images in lightbox displaytoc_depth adjust table of contents depthembed_fonts if TRUE,use localfiles for fonts used in the template.This leads to biggerfiles but ensures that these fonts are available.If FALSE they are downloaded fromGoogle Web Fonts.use_bookdown if TRUE,uses html_document2instead of html_document,thus providing num-bered sections and cross referencespandoc_args arguments passed to the pandoc_args argument of rmarkdown html_documenthtml_clean3md_extensions arguments passed to the md_extensions argument of rmarkdown html_document mathjax set to NULL to disable Mathjax insertionhighlight syntax highlighting,forced to NULL as highlighting is done via prism.jsdefault_style specify default display style,"light"or"dark"downcute_theme document template theme...Additional function arguments passed to R Markdown html_document DetailsCSS taken from the docute project and adaptations made by John Coene.Please note that as syntax highlighting is done with the Prism JavaScript library,using the‘highlight‘argument here will have no effect.ValueR Markdown output format to pass to renderhtml_clean Convert to an HTML documentDescriptionFormat for converting from R Markdown to an HTML document.Usagehtml_clean(fig_width=6,fig_height=6,fig_caption=TRUE,highlight="kate",lightbox=TRUE,thumbnails=TRUE,gallery=FALSE,toc=TRUE,toc_depth=2,use_bookdown=FALSE,pandoc_args=NULL,md_extensions=NULL,mathjax="rmdformats",...)Argumentsfig_width Default width(in inches)forfiguresfig_height Default width(in inches)forfiguresfig_caption TRUE to renderfigures with captionshighlight Syntax highlighting style.Supported styles include"default","tango","pyg-ments","kate","monochrome","espresso","zenburn","haddock",and"text-mate".Pass NULL to prevent syntax highlighting.lightbox if TRUE,add lightbox effect to content imagesthumbnails if TRUE display content images as thumbnailsgallery if TRUE and lightbox is TRUE,add a gallery navigation between images in lightbox displaytoc if TRUE,display a table of contentstoc_depth adjust table of contents depthuse_bookdown if TRUE,uses html_document2instead of html_document,thus providing num-bered sections and cross referencespandoc_args arguments passed to the pandoc_args argument of rmarkdown html_document md_extensions arguments passed to the md_extensions argument of rmarkdown html_document mathjax set to NULL to disable Mathjax insertion...Additional function arguments passed to R Markdown html_document DetailsStyling and features are very similar to the ones from the great knitrBootstrap package by Jim Hester :https:///jimhester/knitrBootstrapValueR Markdown output format to pass to renderhtml_docco Convert to an HTML documentDescriptionFormat for converting from R Markdown to an HTML document.Usagehtml_docco(fig_width=6,fig_height=6,fig_caption=TRUE,highlight="kate",lightbox=TRUE,thumbnails=TRUE,gallery=FALSE,use_bookdown=FALSE,pandoc_args=NULL,md_extensions=NULL,mathjax="rmdformats",...)Argumentsfig_width Default width(in inches)forfiguresfig_height Default width(in inches)forfiguresfig_caption TRUE to renderfigures with captionshighlight Syntax highlighting style.Supported styles include"default","tango","pyg-ments","kate","monochrome","espresso","zenburn","haddock",and"text-mate".Pass NULL to prevent syntax highlighting.lightbox if TRUE,add lightbox effect to content imagesthumbnails if TRUE display content images as thumbnailsgallery if TRUE and lightbox is TRUE,add a gallery navigation between images in lightbox displayuse_bookdown if TRUE,uses html_document2instead of html_document,thus providing num-bered sections and cross referencespandoc_args arguments passed to the pandoc_args argument of rmarkdown html_document md_extensions arguments passed to the md_extensions argument of rmarkdown html_document mathjax set to NULL to disable Mathjax insertion...Additional function arguments passed to rmarkdown html_documentDetailsThe CSS is heavily inspired from the default one of the docco project:https:/// docco/.ValueR Markdown output format to pass to render6material lockdown Convert to an HTML documentDescriptionFormat for converting from R Markdown to an HTML document.Usagelockdown(...)Arguments...Additional function arguments passed to R Markdown html_document DetailsTODOValueR Markdown output format to pass to rendermaterial Material design-bootstrap HTML output formatDescriptionFormat for converting from R Markdown to an HTML document with a material design theme.Usagematerial(fig_width=6,fig_height=6,fig_caption=TRUE,highlight="kate",lightbox=TRUE,thumbnails=TRUE,gallery=FALSE,cards=TRUE,use_bookdown=FALSE,pandoc_args=NULL,md_extensions=NULL,mathjax="rmdformats",...)pilltabs7 Argumentsfig_width Default width(in inches)forfiguresfig_height Default width(in inches)forfiguresfig_caption TRUE to renderfigures with captionshighlight Syntax highlighting style.Supported styles include"default","tango","pyg-ments","kate","monochrome","espresso","zenburn","haddock",and"text-mate".Pass NULL to prevent syntax highlighting.lightbox if TRUE,add lightbox effect to content imagesthumbnails if TRUE display content images as thumbnailsgallery if TRUE and lightbox is TRUE,add a gallery navigation between images in lightbox displaycards if TRUE,sections will be presented as distinct and animated cardsuse_bookdown if TRUE,uses html_document2instead of html_document,thus providing num-bered sections and cross referencespandoc_args arguments passed to the pandoc_args argument of rmarkdown html_document md_extensions arguments passed to the md_extensions argument of rmarkdown html_document mathjax set to NULL to disable Mathjax insertion...Additional function arguments passed to R Markdown html_documentDetailsJavaScript and CSS taken and adapted from the Material design theme for Bootstrap3project: https:///FezVrasta/bootstrap-material-design.ValueR Markdown output format to pass to renderpilltabs Given a cross-table,outputs HTML code to display several views ofwith a tabbed interfaceDescriptionGiven a two dimensions contingency table,this function outputs HTML code to display,within a dynamic tabbed interface,the count,row percentages,column percentages and chi-squared residu-als tables.8print.pilltabsUsagepilltabs(tab,count=TRUE,rows=TRUE,cols=TRUE,chisq=TRUE,resid=TRUE,s=TRUE)Argumentstab a two dimensions table objectcount whether or not to display the count tablerows whether or not to display the row percentages tablecols whether or not to display the column percentages tablechisq whether or not to display the table chi-squared test resultsresid whether or not to display the chi-squared residuals tables whether or not to display the table row namesDetailsThe function is intended to be called inside an rmarkdown document.ValueNo value is returned.Examplesdata(airquality)tab<-table(airquality$Month,airquality$Ozone>25)pilltabs(tab)print.pilltabs Printing functions for pilltabsDescriptionNot to be used directlyreadthedown9Usage##S3method for class pilltabsprint(x,...)##S3method for class pilltabsknit_print(x,...)Argumentsx data to be printed,generated by pilltabs...arguments passed to other methodsreadthedown Convert to an HTML documentDescriptionFormat for converting from R Markdown to an HTML document.Usagereadthedown(fig_width=8,fig_height=5,fig_caption=TRUE,highlight="kate",lightbox=FALSE,thumbnails=FALSE,gallery=FALSE,toc_depth=2,embed_fonts=TRUE,use_bookdown=FALSE,pandoc_args=NULL,md_extensions=NULL,mathjax="rmdformats",...)Argumentsfig_width Default width(in inches)forfiguresfig_height Default width(in inches)forfiguresfig_caption TRUE to renderfigures with captionshighlight Syntax highlighting style.Supported styles include"default","tango","pyg-ments","kate","monochrome","espresso","zenburn","haddock",and"text-mate".Pass NULL to prevent syntax highlighting.10robobook lightbox if TRUE,add lightbox effect to content imagesthumbnails if TRUE display content images as thumbnailsgallery if TRUE and lightbox is TRUE,add a gallery navigation between images in lightbox displaytoc_depth adjust table of contents depthembed_fonts if TRUE,use localfiles for fonts used in the template.This leads to biggerfiles but ensures that these fonts are available.If FALSE they are downloaded fromGoogle Web Fonts.use_bookdown if TRUE,uses html_document2instead of html_document,thus providing num-bered sections and cross referencespandoc_args arguments passed to the pandoc_args argument of rmarkdown html_document md_extensions arguments passed to the md_extensions argument of rmarkdown html_document mathjax set to NULL to disable Mathjax insertion...Additional function arguments passed to R Markdown html_documentDetailsCSS adapted from the readtheorg theme of the org-html-themes project:https:/// fniessen/org-html-themes,which is itself inspired by the Read the docs theme:https:// /.ValueR Markdown output format to pass to renderrobobook Convert to an HTML documentDescriptionFormat for converting from R Markdown to an HTML document.Usagerobobook(fig_width=8,fig_height=5,fig_caption=TRUE,highlight="kate",lightbox=FALSE,thumbnails=FALSE,gallery=FALSE,toc_depth=2,embed_fonts=TRUE,use_bookdown=FALSE,robobook11 pandoc_args=NULL,md_extensions=NULL,mathjax="rmdformats",...)Argumentsfig_width Default width(in inches)forfiguresfig_height Default width(in inches)forfiguresfig_caption TRUE to renderfigures with captionshighlight Syntax highlighting style.Supported styles include"default","tango","pyg-ments","kate","monochrome","espresso","zenburn","haddock",and"text-mate".Pass NULL to prevent syntax highlighting.lightbox if TRUE,add lightbox effect to content imagesthumbnails if TRUE display content images as thumbnailsgallery if TRUE and lightbox is TRUE,add a gallery navigation between images in lightbox displaytoc_depth adjust table of contents depthembed_fonts if TRUE,use localfiles for fonts used in the template.This leads to biggerfiles but ensures that these fonts are available.If FALSE they are downloaded fromGoogle Web Fonts.use_bookdown if TRUE,uses html_document2instead of html_document,thus providing num-bered sections and cross referencespandoc_args arguments passed to the pandoc_args argument of rmarkdown html_document md_extensions arguments passed to the md_extensions argument of rmarkdown html_document mathjax set to NULL to disable Mathjax insertion...Additional function arguments passed to R Markdown html_document DetailsCSS adapted from the bookdown project,with Roboto family fonts.ValueR Markdown output format to pass to renderIndexdowncute,2html_clean,3html_docco,4html_document,2–7,10,11html_document2,2,4,5,7,10,11knit_print.pilltabs(print.pilltabs),8 lockdown,6material,6pilltabs,7,9print.pilltabs,8readthedown,9render,3–7,10,11robobook,1012。