1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{wrap}
\alias{wrap}
\title{Wrap Vector Elements}
\usage{
wrap(x, wrap = "\\"")
}
\arguments{
\item{x}{a vector to wrap}
\item{wrap}{a string to wrap around vector elements}
}
\value{
a string with wrapped elements
}
\description{
Wraps vector elements with string provided in \code{wrap} argument.
}
\examples{
\dontrun{
wrap('foobar')
wrap(c('fee', 'fi', 'foo', 'fam'), '_')
}
}
\references{
This function was moved from \code{rapport} package: \url{http://rapport-package.info}.
}
\author{
Aleksandar Blagotic
}
|