knit_print.ParameterSet: Print Parameter Set in Markdown Code Chunks

View source: R/class_core_parameter_set.R

knit_print.ParameterSetR Documentation

Print Parameter Set in Markdown Code Chunks

Description

The function knit_print.ParameterSet is the default printing function for rpact result objects in knitr. The chunk option render uses this function by default. To fall back to the normal printing behavior set the chunk option render = normal_print. For more information see knit_print.

Usage

## S3 method for class 'ParameterSet'
knit_print(x, ...)

Arguments

x

A ParameterSet.

...

Other arguments (see knit_print).

Details

Generic function to print a parameter set in Markdown. Use options("rpact.print.heading.base.number" = "NUMBER") (where NUMBER is an integer value >= -1) to specify the heading level. The default is options("rpact.print.heading.base.number" = "0"), i.e., the top headings start with ## in Markdown. options("rpact.print.heading.base.number" = "-1") means that all headings will be written bold but are not explicit defined as header.


rpact documentation built on July 9, 2023, 6:30 p.m.