conditional_publishing_output: Conditional display of object depending on Rmarkdown...

View source: R/conditional_publishing_output.R

conditional_publishing_outputR Documentation

Conditional display of object depending on Rmarkdown publication type.

Description

Conditional display of specified objects when RMarkdown document is knitted. Expression will display the object only in the specified Rmarkdown output type.

Usage

conditional_publishing_output(output, publication_type)

Arguments

output

object to display in the document; can be a table, text, graph, or image.

publication_type

string describing type of RMarkdown output you would like the object to appear in. Options include "html" for html_document, "docx" for word_document, and "latex" for pdf_document.


moj-analytical-services/mojspeakr documentation built on April 13, 2025, 9 p.m.