modify the plot_ego_graph() function OR create a new function that creates publication ready table(s) that provide the same info as the ego graph plot
Motivation: the ego graph plots are good for giving the reader a sense of what the ego network looks like, but they are not good for showing the number/percent of private high schools that have particular values for attributes of interest (region, academic reputation, religion, racial composition.
I guess the desired table would be a single table that has information about the four different attributes of interest.
Since the plot_ego_graph() function works on one attribute at a time, you may decide that it is better to create a new function rather than modify plot_ego_graph() function to create the tables. or maybe there is something in-between like modifying plot_ego_graph to create inputs for the table and then just a bit more code outside the function to create the table. whatever you think is best. just put a priority on making the code flexible so that we can easily change input variables and cut points and also which descriptive stats are shown.
Crystal!
could you put this on your "to do" list:
modify the plot_ego_graph() function OR create a new function that creates publication ready table(s) that provide the same info as the ego graph plot
Motivation: the ego graph plots are good for giving the reader a sense of what the ego network looks like, but they are not good for showing the number/percent of private high schools that have particular values for attributes of interest (region, academic reputation, religion, racial composition.
I guess the desired table would be a single table that has information about the four different attributes of interest.
Since the plot_ego_graph() function works on one attribute at a time, you may decide that it is better to create a new function rather than modify plot_ego_graph() function to create the tables. or maybe there is something in-between like modifying plot_ego_graph to create inputs for the table and then just a bit more code outside the function to create the table. whatever you think is best. just put a priority on making the code flexible so that we can easily change input variables and cut points and also which descriptive stats are shown.
thank you big dog!!!