Creates a mastodon actor network from posts. Mastodon users who have posted are actor nodes. The created network is directed with edges representing replies.
Usage
# S3 method for class 'actor.mastodon'
Create(
datasource,
type,
subtype = NULL,
inclMentions = TRUE,
...,
writeToFile = FALSE,
verbose = TRUE
)Arguments
- datasource
Collected social media data with
"datasource"and"mastodon"class names.- type
Character string. Type of network to be created, set to
"actor".- subtype
Character string. Subtype of actor network to be created. Can be set to
"server". Default isNULL.- inclMentions
Logical. Create edges for users mentioned or tagged in posts. Default is
TRUE.- ...
Additional parameters passed to function. Not used in this method.
- writeToFile
Logical. Write data to file. Default is
FALSE.- verbose
Logical. Output additional information. Default is
TRUE.