Learn R Programming

latexpdf (version 0.1.6)

wrap: Wrap Text in a Latex Environment

Description

Wrap text in a latex environment. x is wrapped in the specified environment, with options and arguments formatted appropriately.

Usage

wrap(x, environment, options = NULL, args = NULL, depth = 0)

Arguments

x

character

environment

name of environment

options

list or vector

args

list or vector

depth

integer (extra spaces on the left)

Value

character

See Also

command

as.ltable.data.frame

Examples

Run this code
# NOT RUN {
wrap('Hello','center')
# }

Run the code above in your browser using DataLab