countNLines: Count number of lines in a vector

View source: R/miscellaneous.R

countNLinesR 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."))

clinDataReview documentation built on Oct. 11, 2022, 1:07 a.m.