Learn R Programming

polAr (version 0.2.0.1)

plot_speech: Visualizaci<U+00F3>n r<U+00E1>pida del discurso (Quick speech viz)

Description

Funci<U+00F3>n que permite una r<U+00E1>pida visualizaci<U+00F3>n de los discursos presidenciales a trav<U+00E9>s de nube de palabras representando su frecuencia relativa con el tama<U+00F1>o. (Function that plots a word cloud of presidential specches, with word sizes as a function of its frequency in the data set)

Usage

plot_speech(data)

Arguments

data

requiere un discurso dentro data.frame con formato tidy descargado con get_speech (a tidy data.frame with the speech downloaded with get_speech is required).

Value

Devuelve un objeto con clases "wordcloud2" "htmlwidget" que representa gr<U+00E1>ficamente el contenido de un discurso presidencial (it retruns an object of classes "wordcloud2" "htmlwidget" with a graphical representation of presidential speeches).