Learn R Programming

DescTools (version 0.99.52)

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)

Value

a character matrix

Arguments

x

the matrix with one row

width

integer, the width of the columns in characters

Author

Andri Signorell <andri@signorell.net>

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

Examples

Run this code
Abstract(d.pizza)

Run the code above in your browser using DataLab