Categories

Categories

Categories

## Stacked Bar graph and line graph – R

Main data is stored in df, which will be the data for the bar graph, and returns then enter GINI coefficients draw both bar and line graph we then get the x coordinates for the line graph and finally, we draw the line with bgrp as the x coordinates, and gco as the y coordinates

Categories

## Calculating Freeman’s Group Degree Centrality Function – R

This function takes an nCol file and returns L.C. Freeman’s Group Degree Centrality: Degree centrality (CD) can be calculated as follows: For the following graph we can count the number of connections (edges) each node has (its degree), The maximum degree is 3 for n1. Therefore we subtract the other node degrees from this Then […]

Categories

Categories

Categories

Categories

Categories

## Degree Centrality Table for NCols – R

This little function calculates Degree Centrality (CD) for each node in an undirected simplified graph. The node column also has to be entered as data frame. Then you get it to work like this… And that should return something like

Categories