rnb.add.paragraph: rnb.add.paragraph

Description Usage Arguments Value Author(s) See Also Examples

Description

Generates HTML code for a new paragraph in the specified report.

Usage

1
rnb.add.paragraph(report, txt, paragraph.class = NULL)

Arguments

report

Report to write the text to.

txt

character vector (or array) storing the text to be written. The elements of this vector are concatenated without a separator.

paragraph.class

CSS class definition of the paragraph. This must be either NULL (default) or one of:

"centered"

This paragraph gives a formula or a short statement. Text is horizontally centered.

"note"

This paragraph describes a note. Text is italic.

"task"

This paragraph describes a task. Text is bold and bright red.

Value

The modified report, invisibly.

Author(s)

Yassen Assenov

See Also

Report for other functions adding contents to an HTML report

Examples

1
2
3
report <- createReport("example.html", "Example", init.configuration = TRUE)
txt <- c("A pessimist is a person who has had to listen to too many optimists. ", "<i>Don Marquis</i>")
rnb.add.paragraph(report, txt)


Search within the RnBeads package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.