Learn R Programming

qreport (version 1.0-1)

makecnote: makecnote

Description

Print an Object in a Collapsible Note

Usage

makecnote(
  x,
  label = paste0("`", deparse(substitute(x)), "`"),
  wide = FALSE,
  type = c("print", "run", "cat"),
  ...
)

Value

nothing is returned, used for rendering markup

Arguments

x

an object having a suitable print method

label

a character string providing a title for the tab. Default is the name of the argument passed to makecnote.

wide

set to TRUE to expand the width of the text body

type

default is to print; can also be run, cat

...

an optional list of arguments to be passed to print

Author

Frank Harrell

Details

Prints an object in a Quarto collapsible note.

Examples

Run this code
makecnote('This is some text', label='mylab', wide=TRUE)

Run the code above in your browser using DataLab