View source: R/AddText.mastodon.R
AddText.actor.mastodon | R Documentation |
Add columns containing text data to mastodon actor network dataframes
## S3 method for class 'actor.mastodon'
AddText(net, data, ...)
net |
A named list of dataframes |
data |
A dataframe generated by |
... |
Additional parameters passed to function. Not used in this method. |
Network as a named list of two dataframes containing $nodes
and $edges
including columns
containing text data.
## Not run:
# add text to an actor network ignoring references to actors at the beginning of
# comment text
net_actor <- collect_mdn |>
Create("actor") |>
AddText(collect_mdn)
# network
net_actor$nodes
net_actor$edges
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.