Build a <network> a for social network analysis from a <tweetgraph_primitive> or tweet <data.frame>.

as_sna_network(x, ...)

# S3 method for data.frame
as_sna_network(x, ...)

# S3 method for tweetgraph_primitive
as_sna_network(x, ...)

Arguments

x

<tweetgraph_primitive> or tweet <data.frame>

...

Arguments passed to or from other methods.

Value

<network>

Examples

if (FALSE) { hashtag_rstats <- rtweet::search_tweets("#rstats") as_sna_network(hashtag_rstats) }