generate_alters_friends: Function to get friends of friends from a previously...

Description Usage Arguments Examples

Description

Get networks of each alter who is friends with the original ego

Usage

1
2
generate_alters_friends(ego_network, degree_n, n_alters = NULL,
  n_alters_alters = NULL)

Arguments

ego_network

name of the ego network df (to minimize the number of API calls, you must pass in the ego network, not simply the ego user's name)

degree_n

degree that these friends are connected to the original ego

n_alters

number of ego's alters to retrieve friends for (set to NULL to retrieve friends for all alters. Value of NULL is likely to result in extremely long run time)

n_alters_alters

max num of each alter's friends to retrieve (set to NULL to retrieve all friends for each alter. NB: Value of NULL is likely to result in extremely long run time)

Examples

1

leslie-huang/twitterNetworkGraphR documentation built on May 21, 2019, 5:11 a.m.