Learn R Programming

aNCA (version 0.1.0)

add_qmd_plot: Helper to create a Quarto code chunk for a plot

Description

Used internally to format a plot chunk for Quarto documents.

Usage

add_qmd_plot(plot_expr, use_plotly = FALSE)

Value

Character vector for Quarto code chunk.

Arguments

plot_expr

Expression for plot.

use_plotly

Logical, whether to convert plot to plotly.