countNLines {clinDataReview}R Documentation

Count number of lines in a vector

Description

Count number of lines in a vector

Usage

countNLines(x)

Arguments

x

Character vector.

Value

Integer vector of length x with number of lines

Author(s)

Laure Cougnaud

Examples

clinDataReview:::countNLines(x = c("A\nB", "blabla", "This\nis\na\nsentence."))

[Package clinDataReview version 1.6.1 Index]