form3repeat: prints a repeated given string

Description Usage Arguments Value Examples

View source: R/rbsa1.code.r

Description

Component by component, prints the concatenation of the given string(s) repeated nb times.

Usage

1
2
 
  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
2
 
  form3repeat('-+',20,TRUE) 

rbsa documentation built on May 2, 2019, 6:07 p.m.