form3repeat: prints a repeated given string

Description Usage Arguments Value Examples

View source: R/f0.rbsb1.code.r

Description

Without adding breaking line characters, prints nb times a given string of characters

Usage

1
form3repeat(cha="-", nb=10, imp=FALSE, cr=imp)

Arguments

cha

The string to repeat

nb

Number of repetitions

imp

Printing when TRUE or returning (default)

cr

Must a line feed be added?

Value

character string or printing according to imp

Examples

1
 form3repeat('-+', 20, TRUE)

rbsb documentation built on May 31, 2017, 1:45 a.m.