perc_cap_words: Percentage of fully capitalised words in a string

Description Usage Arguments Value Examples

View source: R/textfeatureinfor.R

Description

Percentage of fully capitalised words in a string

Usage

1

Arguments

text

A character vector with length one containing the piece of text to analyze.

Value

A vector containing the number of fully capitalised words

Examples

1
2
3
text <- "This is REALLY Awesome!"
perc_cap_words(text)
25

UBC-MDS/textfeatureinfor documentation built on Feb. 12, 2022, 7:48 a.m.