Skip to contents

Cuts strings of character and factor columns if a string is longer than cutAt parameter. Factors are converted to characters before cutting.

Usage

cutAllLongStrings(df, cutAt = 50)

Arguments

df

(data.frame) data.frame with character and non-character columns

cutAt

(numeric) number of characters after which to cut the entries of an character-column