Description Usage Arguments Value
This function creates a text corpus from node or edge text attribute data in an igraph.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
g |
an igraph graph object. |
txt_attr |
Character string. Name of graph text attribute. Default is |
type |
Character string. Graph attribute type. Default is |
iconv |
Logical. Use the |
html_decode |
Logical. HTML decode text. Default is |
rm_url |
Logical. Remove URL's. Default is |
rm_num |
Logical. Remove numbers. Default is |
rm_punct |
Logical. Remove punctuation. Default is |
rm_twit_hashtags |
Logical. Remove twitter hashtags. Default is |
rm_twit_users |
Logical. Remove twitter user names. Default is |
sw_kind |
Character string. Stopword dictionary. Refer |
rm_words |
Character vector. User defined stopwords. Default is |
stem |
Logical. Apply word stemming. Default is |
A tm text corpus object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.