hwordcloud: hwordcloud: Rendering word clouds using R + Highcharts

Description Usage Arguments hwordcloud Examples

View source: R/hwordcloud.R

Description

This function can create wordclouds by binding R and Highcharts.

Rendering word clouds using R + Highcharts

Usage

1
2
3
4
5
hwordcloud(text, size, width = "100%", height = NULL,
  theme = "sandsignika", itermName = "count", title = "",
  titleAlign = "center", titleSize = "20px", titleColor = "#333333",
  subtitle = "", subtitleAlign = "center", subtitleSize = "",
  subtitleColor = "#666666")

Arguments

text

character vector;

size

numeric vector;

width

chart width, for example, "100%";

height

chart height, for example, "400px";

theme

chart theme, you can use these themes: darkgreen/darkblue/avocado/darkunica/gray/ gridlight/grid/sandsignika/sunset;

itermName

attribute in tooltip;

title

title;

titleAlign

title alignment, left/center/right;

titleSize

title size, like "20px";

titleColor

title color, like "#333333";

subtitle

subtitle;

subtitleAlign

subtitle alignment, left/center/right;

subtitleSize

subtitle size, like "16px";

subtitleColor

subtitle color, like "#666666"

hwordcloud

Rendering word clouds using R + Highcharts

Examples

1
2
3
4
5
6
library(hwordcloud)
library(wordcloud2)
df <- head(demoFreq, 50)
if(interactive()){
   hwordcloud(text = df$word, size = df$freq)
}

hwordcloud documentation built on Aug. 7, 2019, 9:03 a.m.