makeNstr: creates a string that is a repeat of a substring

Description Usage Arguments Value Author(s) See Also Examples

Description

Takes a character and creates a string that is the character repeated len times.

Usage

1
makeNstr(char, len)

Arguments

char

character to be repeated

len

number of times to repeat char.

Value

A string that is char repeated len times.

Author(s)

Charles Dupont

See Also

paste, rep

Examples

1
makeNstr(" ", 5)


Search within the Hmisc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.