powered by
A logical test of missing sentence ending punctuation.
has_endmark(x, endmarks = c("?", ".", "!"), ...)
A character vector.
The potential ending punctuation marks,
ignored.
Returns a logical vector.
# NOT RUN { x <- c( "I like it.", "Et tu?", "Not so much", "Oh, I understand.", "At 3 p.m., we go", NA ) has_endmark(x) # }
Run the code above in your browser using DataLab