Learn R Programming

spAddins (version 0.2.0)

repeat_symbol: Repeat sequence of symbols

Description

Repeat sequence of symbols

Usage

repeat_symbol(text, length.out)

Arguments

text

(character) The symbol (or sequence of symbols) to be repeated until desired length of string.

length.out

(integer) The length of the sequence.

Value

Sting of defined length.

Examples

Run this code
# NOT RUN {
repeat_symbol(".", 10)

repeat_symbol("..+", 10)
# }

Run the code above in your browser using DataLab