all_caps: All Caps

Description Usage Arguments Examples

View source: R/spam_functions.R

Description

This function takes in any string and returns a boolean indicating whether or not it is in all caps. This function is intended for use on any of the email MEA datasets.

Usage

1

Arguments

text

string/ email subject line

Examples

1
2
3
4
5
## Not run: 
emails_caps <- emails %>%
   mutate(all_caps = all_caps(text = subjectline))

## End(Not run)

leahannejohnson/textclassificationexamples documentation built on Feb. 7, 2022, 11:04 p.m.