Description Usage Arguments Value Author(s) Examples
Draw a brain shaped wordcloud.
1 2 3 4 5 6 7 8 9 10 11 |
pdf.file |
Either the name of a file (ending with ".pdf"), a directory or nothing to scrap all the PDFs from the directory. |
words |
A vector of words. |
frequency |
A length-equal frequency vector. |
word.length.min |
Keep only words with minimum length x. |
word.length.max |
Keep only words with maximum length x. |
freq.min |
Keep only words that appear more than x times. |
freq.max |
Keep only words that appear less than x times. |
image |
NULL or "brain1", "brain2", "head1", "head2". |
text.size |
Adjust the text size. |
colours |
colour of the words. A vector of HEX colours or the following: "random-dark", "random-light" or "neuropsychology" for a material design palette (default). |
colours.replicate |
Should it replicate the length of the colours vector to match the length of the data? If FALSE and length of the colours vector shorter than the length of the data, the words left will appear black. |
cloud |
A wordcloud. Better to click on "show in new window" in RStudio. |
Dominique Makowski
1 2 3 | require(neuropsychology)
braincloud(words=c("here", "is", "some", "random", "words"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.