wordcloud: Add a wordcloud to the slide

View source: R/wordcloud.R

wordcloudR Documentation

Add a wordcloud to the slide

Description

Adds a wordcloud to the current slide. It will return the corresponding 'iframe' tag which will show the wordcloud results. This function must be called once per wordcloud.

Usage

wordcloud(question, max_words = 2, width = "100%", height = "500px", ...)

Arguments

question

A character -string- representing the wordcloud question.

max_words

A numeric indicating max words allowed per user. The minimum value will be 1.

width

A character with a valid html 'width' value for the iframe.

height

A character with a valid html 'height' value for the iframe.

...

Additional parameters to be passed to wordcloud::wordcloud function.

Value

An html 'iframe' tag which will show the wordcloud results.


jcrodriguez1989/interactingan documentation built on June 7, 2024, 10:57 a.m.