Learn R Programming

latexpdf (version 0.1.8)

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)

Value

character

Arguments

x

character

environment

name of environment

options

list or vector

args

list or vector

depth

integer (extra spaces on the left)

See Also

command

as.ltable.data.frame

Examples

Run this code
wrap('Hello','center')

Run the code above in your browser using DataLab