R: Column Wrap

ColumnWrap {DescTools} | R Documentation

## 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

### 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.

### Value

a character matrix

### Author(s)

Andri Signorell <andri@signorell.net>

### See Also

`strwrap`

### Examples

    Abstract(d.pizza)

[Package DescTools version 0.99.38 Index]