DescTools (version 0.99.36)

ColumnWrap: Column Wrap

Description

Wraps text in a character matrix so, that it's displayed over more than one line.

Usage

ColumnWrap(x, width = NULL)

Arguments

x

the matrix with one row

width

integer, the width of the columns in characters

Value

a character matrix

Details

A data.frame containing character columns with long texts is often wrapped by columns. This can lead to a loss of overview. ColumnWrap wraps the lines within the columns.

See Also

strwrap

Examples

Run this code
# NOT RUN {
Abstract(d.pizza)
# }

Run the code above in your browser using DataCamp Workspace