Categories
Uncategorized

Log Graph Function – R

Categories
Uncategorized

Percentages and Ratios Function – R

Categories
Uncategorized

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
Uncategorized

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
Uncategorized

draw.quick.graph – R

Categories
Uncategorized

Color Nodes – R

Categories
Uncategorized

Dated posts for a SN – R

Categories
Uncategorized

Frequency, Degree, Centrality – R

Categories
Uncategorized

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
Uncategorized

Extracting data from a Data Frame 101 – R