as_sna_network: Build a '<network>' a for social network analysis from a...

Description Usage Arguments Value Author(s) Examples

View source: R/network.R

Description

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

Usage

1
2
3
4
5
6
7
as_sna_network(x, ...)

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

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

Arguments

x

<tweetgraph_primitive> or tweet <data.frame>

...

Arguments passed to or from other methods.

Value

<network>

Author(s)

Brendan Knapp brendan.g.knapp@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 


hashtag_rstats <- rtweet::search_tweets("#rstats")

as_sna_network(hashtag_rstats)



## End(Not run)

knapply/tweetgraph documentation built on Nov. 4, 2019, 3:54 p.m.