Skip to contents

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.