addTitle.bsdoc

0th

Percentile

Insert a title into a bsdoc object

Add a title into a bsdoc object.

Usage
# S3 method for bsdoc
addTitle(doc, value, level = 1, ...)
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.

...

further arguments, not used.

Value

an object of class bsdoc.

See Also

bsdoc, addTitle

Aliases
  • addTitle.bsdoc
Examples
# NOT RUN {
#START_TAG_TEST
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 )
#STOP_TAG_TEST
# }
Documentation reproduced from package ReporteRs, version 0.6.9, License: GPL-3

Community examples

Looks like there are no examples yet.