Skip to Content
R Data Mining
book

R Data Mining

by Enrico Pegoraro, Andrea Cirillo
November 2017
Beginner to intermediate content levelBeginner to intermediate
442 pages
11h 58m
English
Packt Publishing
Content preview from R Data Mining

Performing network analysis on textual data

One hypothesis we could make is that these companies, or at least a good part of them, are from the same industry. Is that true?

We actually have the data to figure this out. If we look back at our information dataset, we can easily see that some of the records start with the industry token. These are the records reproducing the line related to the customer's industry, which is contained within every customer card.

Let's filter out all the other records to retain only those records that specify the industry of the company:

information %>% filter(grepl("industry", text))

This is fine; nonetheless, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

R Data Analysis Projects

R Data Analysis Projects

Mark Hodnett, Gopi Subramanian
Hands-On Data Science with R

Hands-On Data Science with R

Doug Ortiz, Vitor Bianchi Lanzetta, Nataraj Dasgupta, Ricardo Anjoleto Farias
Data Mining and Machine Learning Applications

Data Mining and Machine Learning Applications

Rohit Raja, Kapil Kumar Nagwanshi, Sandeep Kumar, K. Ramya Laxmi

Publisher Resources

ISBN: 9781787124462Supplemental Content