Learn R Programming

migest (version 2.0.4)

nchars_wrap: Count the number of characters per line

Description

Count the number of characters per line

Usage

nchars_wrap(b, w)

Value

List with vectors for number of characters per line and the number of words per line

Arguments

b

Numeric vector for the position of line breaks between the words in w

w

Character string vector of words