wrap: Wrap Vector Elements

Description Usage Arguments Value Author(s) References Examples

Description

Wraps vector elements with string provided in wrap argument.

Usage

1
wrap(x, wrap = "\"")

Arguments

x

a vector to wrap

wrap

a string to wrap around vector elements

Value

a string with wrapped elements

Author(s)

Aleksandar Blagotic

References

This function was moved from rapport package: http://rapport-package.info.

Examples

1
2
3
4
5
## Not run: 
wrap('foobar')
wrap(c('fee', 'fi', 'foo', 'fam'), '_')

## End(Not run)


Search within the pander 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.