addTitle.bsdoc

0th

Percentile

Insert a title into a bsdoc object

Add a title into a bsdoc object.

Usage
## S3 method for class 'bsdoc':
addTitle(doc, value, level = 1, id, ...)
Arguments
doc
bsdoc object
value
"character" value to use as title text
level
"integer" positive value to use as heading level. 1 for title1, 2 for title2, etc. Default to 1.
id
character single and unique value to use as title id.
...
further arguments, not used.
Value

  • an object of class bsdoc.

See Also

bsdoc, addTitle

Aliases
  • addTitle.bsdoc
Examples
doc.filename = "addTitle_bsdoc/example.html"

# set default font size to 11
options( "ReporteRs-fontsize" = 11 )

doc = bsdoc( )

doc = addTitle( doc, "Title example 1", level = 1 )


doc = addTitle( doc, "Title example 2", level = 1 )

# Write the object
writeDoc( doc, file = doc.filename )
Documentation reproduced from package ReporteRs, version 0.7.7, License: GPL-3

Community examples

Looks like there are no examples yet.