Learn R Programming

BERTopic (version 0.1.0)

sms_spam: SMS Spam Collection (UCI) - subset for examples

Description

A cleaned subset of the UCI SMS Spam Collection, suitable for quick examples and tests in this package. Each row is an SMS message labeled as "ham" or "spam".

Usage

sms_spam

Arguments

Format

A data frame with two columns:

label

Character, either "ham" or "spam".

text

Character, the SMS message content (UTF-8).

Examples

Run this code
data(sms_spam)
head(sms_spam)

Run the code above in your browser using DataLab