countNLines {patientProfilesVis}R 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


[Package patientProfilesVis version 2.0.9 Index]