plus-.pot: pot concatenation

Description Usage Arguments Details See Also Examples

Description

"+" function is to be used for concatenation of pot elements. Concatenation of 2 pot objects returns a pot (of length 2).

Usage

1
2
## S3 method for class 'pot'
e1 + e2

Arguments

e1

a pot object or a character (vector of length 1).

e2

a pot object or a character (vector of length 1).

Details

at least one of the two objects must be a pot object. If one of the 2 parameters is a simple string, it is converted as a pot object with no associated format ; therefore, document default document style will be used (see addParagraph).

See Also

addParagraph

Examples

1
2
3
4
if( check_valid_java_version() ){
pot("My tailor", textProperties(color="red") ) + " is " + pot("rich"
	, textProperties(font.weight="bold") )
}

davidgohel/ReporteRs documentation built on March 23, 2020, 11 p.m.