countNLines: Count number of lines ('\n' character) per character in a...

View source: R/miscellaneous.R

countNLinesR Documentation

Count number of lines ('\n' character) per character in a vector

Description

Count number of lines ('\n' character) per character in a vector

Usage

countNLines(x)

Arguments

x

character vector

Value

numeric vector with same length than x containing number of lines in each element

Author(s)

Laure


patientProfilesVis documentation built on June 22, 2024, 9:44 a.m.