私は現在、ワードクラウドの多くの芸術的な使用にワードルを使用しています。Rのワードクラウドは、潜在的に、より適切に制御できると思います。
1)ワードクラウドで単語を大文字にするにはどうすればよいですか?[解決済み]
2)wordcloudで2つの単語を1つのチャンクとして保持するにはどうすればよいですか?(wordleは〜演算子を使用してこれを実現します。Rのワードクラウドは〜をそのまま出力します)[たとえば、「to」と「be」の間に〜がある場合、ワードクラウドにスペースが必要です]
require(wordcloud)
y<-c("the", "the", "the", "tree", "tree", "tree", "tree", "tree",
"tree", "tree", "tree", "tree", "tree", "Wants", "Wants", "Wants",
"Wants", "Wants", "Wants", "Wants", "Wants", "Wants", "Wants",
"Wants", "Wants", "to~be", "to~be", "to~be", "to~be", "to~be",
"to~be", "to~be", "to~be", "to~be", "to~be", "to~be", "to~be",
"to~be", "to~be", "to~be", "to~be", "to~be", "to~be", "to~be",
"to~be", "when", "when", "when", "when", "when", "familiar", "familiar",
"familiar", "familiar", "familiar", "familiar", "familiar", "familiar",
"familiar", "familiar", "familiar", "familiar", "familiar", "familiar",
"familiar", "familiar", "familiar", "familiar", "familiar", "familiar",
"leggings", "leggings", "leggings", "leggings", "leggings", "leggings",
"leggings", "leggings", "leggings", "leggings")
wordcloud(names(table(y)), table(y))
