Skip to Content
Modern R Programming Cookbook
book

Modern R Programming Cookbook

by Jaynal Abedin
October 2017
Beginner to intermediate
236 pages
7h 38m
English
Packt Publishing
Content preview from Modern R Programming Cookbook

There's more…

The most basic code structure for a word cloud is as follows:

    wordcloud(vector_of_word, vector_of_frequencies, minimum_frequency)

This code will create a basic black-and-white word cloud, but if you want to create a color visualization and the color comes from different sources, then you can specify using the color parameter. There are various other options available in the word cloud function. By typing help(wordcloud), you will be able to explore this further.

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 Cookbook, 2nd Edition

R Cookbook, 2nd Edition

JD Long, Paul Teetor

Publisher Resources

ISBN: 9781787129054Supplemental Content