File: wrap.Rd

package info (click to toggle)
r-cran-pander 0.6.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,804 kB
  • sloc: javascript: 301; cpp: 145; lisp: 94; makefile: 21
file content (31 lines) | stat: -rw-r--r-- 608 bytes parent folder | download
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
}