Description Usage Arguments Author(s) See Also Examples
Convert Various Objects to network
graphs.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | as_tweet_network(
x,
target_class = target_class,
all_status_data = all_status_data,
all_user_data = all_user_data,
...
)
## S3 method for class 'proto_net'
as_tweet_network(x, ...)
## S3 method for class 'data.frame'
as_tweet_network(
x,
target_class = c("user", "hashtag", "url", "media"),
all_status_data = FALSE,
all_user_data = FALSE,
...
)
|
x |
Tweet data frame or |
target_class |
|
all_status_data |
|
all_user_data |
|
... |
Arguments passed to or from other methods. |
Brendan Knapp brendan.g.knapp@nps.edu
as_proto_net()
, as_tweet_igraph()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | path_to_tweet_file <- example_tweet_file()
tweet_df <- read_tweets(path_to_tweet_file)
tweet_df %>%
as_tweet_network()
tweet_df %>%
as_proto_net() %>%
as_tweet_network()
tweet_df %>%
as_tweet_network(all_status_data = TRUE)
tweet_df %>%
as_tweet_network(all_user_data = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.