add.pot: add a paraggraph to an existing set of paragraphs of text

Description Usage Arguments See Also Examples

View source: R/set_of_pot.R

Description

add a paraggraph to an existing set of paragraphs of text (set_of_paragraphs object).

Usage

1
add.pot(x, value)

Arguments

x

set_of_paragraphs object

value

pot object to add as a new paragraph

See Also

set_of_paragraphs, pot

Examples

1
2
3
4
5
6
pot1 = pot("My tailor", textProperties(color="red") ) + " is " + pot("rich"
	, textProperties(font.weight="bold") )
my.pars = set_of_paragraphs( pot1 )
pot2 = pot("Cats", textProperties(color="red") ) + " and " + pot("Dogs"
	, textProperties(color="blue") )
my.pars = add.pot( my.pars, pot2 )

ReporteRs documentation built on April 1, 2018, 12:06 p.m.