find_most_popular: Return the k most popular people

Description Usage Arguments Value

View source: R/format_network_data.R

Description

Return the k most popular people based on connections and betweenness

Usage

1
find_most_popular(pairwise_df, id_df, between_df, network_df, k)

Arguments

pairwise_df

Pairwise name combinations with id's dataframe. This parameter is the output from add_ids_to_names function

id_df

The id dataframe containing a column of names, and a column of id's

between_df

a dataframe containing a column of names, and a column of betweenness scores

network_df

a dataframe of movie data. the output from the function create_network_df

Value

A dataframe containing information for node labels, including which group they belong to (number of movies)


wjburton/Movie_Network documentation built on May 4, 2019, 7:33 a.m.