Learn R Programming

DescTools (version 0.99.19)

ColumnWrap: ColumnWrap

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

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
Abstract(d.pizza)

Run the code above in your browser using DataLab