powered by
Add columns containing text data to mastodon activity network dataframes
# S3 method for activity.mastodon AddText(net, data, ..., writeToFile = FALSE, verbose = TRUE)
Network as a named list of two dataframes containing $nodes and $edges including columns containing text data.
$nodes
$edges
A named list of dataframes nodes and edges generated by Create.
nodes
edges
Create
A dataframe generated by Collect.
Collect
Additional parameters passed to function. Not used in this method.
Logical. Write data to file. Default is FALSE.
FALSE
Logical. Output additional information. Default is TRUE.
TRUE
if (FALSE) { # add text to an activity network net_activity <- collect_mdn |> Create("activity") |> AddText(collect_mdn) # network net_activity$nodes net_activity$edges }
Run the code above in your browser using DataLab